diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-09-21 14:20:08 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-09-21 14:20:08 +0000 |
commit | 50c6f6e1dbfd83f91c085056d6f007d4755ff83a (patch) | |
tree | e2d43dbc8770236fee5a0456d12db881d616eaa6 /rescue/make_rescue_img | |
parent | 5f1e94688c06483fd133ae35a9fbbdacdf9094c7 (diff) | |
download | drakx-50c6f6e1dbfd83f91c085056d6f007d4755ff83a.tar drakx-50c6f6e1dbfd83f91c085056d6f007d4755ff83a.tar.gz drakx-50c6f6e1dbfd83f91c085056d6f007d4755ff83a.tar.bz2 drakx-50c6f6e1dbfd83f91c085056d6f007d4755ff83a.tar.xz drakx-50c6f6e1dbfd83f91c085056d6f007d4755ff83a.zip |
work both with squashfs 3 and 4
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-x | rescue/make_rescue_img | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 3cbf97aab..2d226afdc 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -56,6 +56,6 @@ if (my ($LANGUAGE) = map { if_(/LANGUAGE_(.*)/, $1) } keys %ENV) { exit 0 if $ARGV[0]; -_ "mksquashfs3 $tmp $rescue -all-root -noappend >/dev/null"; +_ "mksquashfs $tmp $rescue -all-root -noappend >/dev/null || mksquashfs3 $tmp $rescue -all-root -noappend >/dev/null"; _ "chmod 755 $rescue"; _ "rm -rf $tmp"; |