mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Don't hardcode /dev/sd* as device path.
This commit is contained in:
parent
b84c5db309
commit
06b1d4abd2
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ PartitionLabelsView::buildTexts( const QModelIndex& index ) const
|
|||
else if ( index.data( PartitionModel::OsproberNameRole ).toString().isEmpty() )
|
||||
{
|
||||
firstLine = index.data().toString();
|
||||
if ( firstLine.startsWith( "/dev/sd" ) )
|
||||
if ( firstLine.startsWith( "/dev/" ) )
|
||||
firstLine.remove( 0, 5 ); // "/dev/"
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue