summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 876555e..9352192 100755
--- a/draklive
+++ b/draklive
@@ -1112,7 +1112,7 @@ sub need_compressed_image {
sub get_disk_image_path {
my ($live) = @_;
- if ($live->{settings}{compression_method} == 'gzip') {
+ if ($live->{settings}{compression_method} eq 'gzip') {
get_disk_master_path($live) . if_(need_compressed_image($live), '.gz');
}
else {
@@ -1130,7 +1130,7 @@ sub create_disk_image {
my $dest = get_disk_image_path($live);
mkdir_p(dirname($dest));
- if ($live->{settings}{compression_method} == 'gzip') {
+ if ($live->{settings}{compression_method} eq 'gzip') {
run_('gzip', '>', $dest, '-f', '-c', '--fast', $master);
}
else {