summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-12-29 13:13:00 +0000
committerOlivier Blin <oblin@mandriva.org>2005-12-29 13:13:00 +0000
commitba3824ffb7d930d59edf937917a1a29551a2fe6e (patch)
treec06df900c8c4475b01098432199d40ba3c5ad0a8 /tools
parent53487fed94a988c3d16016630eb7b7f94a1decf3 (diff)
downloaddrakx-ba3824ffb7d930d59edf937917a1a29551a2fe6e.tar
drakx-ba3824ffb7d930d59edf937917a1a29551a2fe6e.tar.gz
drakx-ba3824ffb7d930d59edf937917a1a29551a2fe6e.tar.bz2
drakx-ba3824ffb7d930d59edf937917a1a29551a2fe6e.tar.xz
drakx-ba3824ffb7d930d59edf937917a1a29551a2fe6e.zip
sort storage types
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index dbca1094e..d9e51c7bb 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -698,7 +698,7 @@ sub copy_wizard {
$live->{workdir} = $live->{prefix}{live_mnt} . $live->{prefix}{media_mnt};
$live->{mnt} = '/tmp/mnt';
my $root = $live->{workdir} . $live->{prefix}{boot};
- my @available_storage = grep { -d "$root/$_" && exists $storage{$_}{detect} } all($root);
+ my @available_storage = sort(grep { -d "$root/$_" && exists $storage{$_}{detect} } all($root));
my @available_devices;
require interactive;
require wizards;