diff options
author | Olivier Blin <blino@mageia.org> | 2010-11-25 23:41:01 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2010-11-25 23:41:01 +0000 |
commit | 3c711d0d0620398ab0d887785e494513cce8883b (patch) | |
tree | 4cb10fa359987413fc9852948c62f4511ee2509e | |
parent | 734e71dcdff4d0acd7e24582ac4a32d57a91caa0 (diff) | |
download | iurt-3c711d0d0620398ab0d887785e494513cce8883b.tar iurt-3c711d0d0620398ab0d887785e494513cce8883b.tar.gz iurt-3c711d0d0620398ab0d887785e494513cce8883b.tar.bz2 iurt-3c711d0d0620398ab0d887785e494513cce8883b.tar.xz iurt-3c711d0d0620398ab0d887785e494513cce8883b.zip |
linking back the chroot tarball is only needed when not rebuilding the chroot
-rw-r--r-- | lib/Iurt/Chroot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index da590ab..8278ee7 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -461,6 +461,7 @@ sub create_chroot { } } else { plog('NOTIFY', "Chroot tarball is already up-to-date"); + link $tmp_tar, $chroot_tar; } } else { plog('DEBUG', "can't open $tmp_chroot/var/log/qa"); @@ -473,7 +474,6 @@ sub create_chroot { } } } - link $tmp_tar, $chroot_tar; if (!-d $chroot || $rebuild) { plog('DEBUG', "recreate chroot $chroot"); |