diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-07-05 15:03:11 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-07-05 15:03:11 +0000 |
commit | d0b92b6eb207b2fd8282e60eb49c91a652c27e27 (patch) | |
tree | 65f775c409ae282298324c52a3924356b43091c9 /rescue | |
parent | ae09913b27a6e36d243f4488a2c2271bd537de26 (diff) | |
download | drakx-backup-do-not-use-d0b92b6eb207b2fd8282e60eb49c91a652c27e27.tar drakx-backup-do-not-use-d0b92b6eb207b2fd8282e60eb49c91a652c27e27.tar.gz drakx-backup-do-not-use-d0b92b6eb207b2fd8282e60eb49c91a652c27e27.tar.bz2 drakx-backup-do-not-use-d0b92b6eb207b2fd8282e60eb49c91a652c27e27.tar.xz drakx-backup-do-not-use-d0b92b6eb207b2fd8282e60eb49c91a652c27e27.zip |
use version-specific loopbacks relative path
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/Flash/scripts/upgrade | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/rescue/Flash/scripts/upgrade b/rescue/Flash/scripts/upgrade index 1f5897ea4..f6d60bd34 100755 --- a/rescue/Flash/scripts/upgrade +++ b/rescue/Flash/scripts/upgrade @@ -174,13 +174,9 @@ if ! insert_pendrive; then exit 1 fi -if [ x"$version" = x"1.0" ]; then - sys_loop="$rootdir/loopbacks/system.loop" - sfs_loop="$rootdir/loopbacks/distrib.sqfs" -else - sys_loop="$rootdir/.loopbacks/system.loop" - sfs_loop="$rootdir/.loopbacks/distrib.sqfs" -fi +#- works only when upgrading versions with the same layout +sys_loop="$rootdir$loopbacks_rel/system.loop" +sfs_loop="$rootdir$loopbacks_rel/distrib.sqfs" if ! prepare; then cleanup |