diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-08-20 08:02:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-08-20 08:02:20 +0000 |
commit | 2a6cdfec9dcbe1f07a5c640bd1b80a268dd8f3e2 (patch) | |
tree | 5eace0597aef9801fe5b675b2d748fd4016e9d2c /tools/drakx-in-chroot | |
parent | f0334b4d3364e139673c204a3b9c6a757d42b687 (diff) | |
download | drakx-backup-do-not-use-2a6cdfec9dcbe1f07a5c640bd1b80a268dd8f3e2.tar drakx-backup-do-not-use-2a6cdfec9dcbe1f07a5c640bd1b80a268dd8f3e2.tar.gz drakx-backup-do-not-use-2a6cdfec9dcbe1f07a5c640bd1b80a268dd8f3e2.tar.bz2 drakx-backup-do-not-use-2a6cdfec9dcbe1f07a5c640bd1b80a268dd8f3e2.tar.xz drakx-backup-do-not-use-2a6cdfec9dcbe1f07a5c640bd1b80a268dd8f3e2.zip |
remove debugging code that wrongly went in last commit (r244224 on
2008-08-19), thus fixing using remote repositories (spotted by pixel)
Diffstat (limited to 'tools/drakx-in-chroot')
-rwxr-xr-x | tools/drakx-in-chroot | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 6073ce236..2496c21d2 100755 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -69,12 +69,7 @@ if ($remote_repository) { } sys("$sudo mount -o bind $dir $SLASH_LOCATION$prefix_ROOTED"); - -if ($repository_uri) { - $repository_uri = '/C/cooker/i586'; -} elsif (!$remote_repository) { - $repository_uri = $repository_without_arch; -} +$repository_uri ||= $repository_without_arch if !$remote_repository; sys("$sudo mount -o bind $repository_uri $SLASH_LOCATION$MEDIA_LOCATION_ROOTED") if $repository_uri; sys("$sudo mount -t proc none $SLASH_LOCATION/proc"); |