summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-04-29 15:00:45 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-04-29 15:00:45 +0000
commitd9b3f3ad7dbecf19ba9e396ee4ab9cca19021184 (patch)
treee5b1e622d7caf8ad7c5493f6ebcf40a2d65f17b5 /perl-install/diskdrake
parent8967af08327daac4cdca221971fd790961039cbe (diff)
downloaddrakx-d9b3f3ad7dbecf19ba9e396ee4ab9cca19021184.tar
drakx-d9b3f3ad7dbecf19ba9e396ee4ab9cca19021184.tar.gz
drakx-d9b3f3ad7dbecf19ba9e396ee4ab9cca19021184.tar.bz2
drakx-d9b3f3ad7dbecf19ba9e396ee4ab9cca19021184.tar.xz
drakx-d9b3f3ad7dbecf19ba9e396ee4ab9cca19021184.zip
Use isLUKS
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index d2fe85f83..7d7cc1834 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -315,7 +315,7 @@ sub create_buttons4partitions {
};
foreach my $entry (@parts) {
- if(fs::type::isRawLUKS($entry) && $entry->{dm_active}) {
+ if(isRawLUKS($entry) && $entry->{dm_active}) {
my $p = find { $entry->{dm_name} eq $_->{dmcrypt_name} } @{$all_hds->{dmcrypts}};
$entry = $p if $p;
}
@@ -345,7 +345,7 @@ sub create_buttons4partitions {
last;
}
});
- if($entry->{dmcrypt_name}) {
+ if(isLUKS($entry)) {
$w->set_image(gtknew("Image", file => "security-strong"));
}
my @colorized_fs_types = qw(ext3 ext4 xfs swap vfat ntfs ntfs-3g);