]> spindle.queued.net Git - xodist/commitdiff
initchroot: fix a buglet that left initramfs/kernel packages in /
authorAndres Salomon <dilinger@debian.org>
Wed, 15 Oct 2008 23:23:55 +0000 (19:23 -0400)
committerAndres Salomon <dilinger@debian.org>
Wed, 15 Oct 2008 23:23:55 +0000 (19:23 -0400)
Signed-off-by: Andres Salomon <dilinger@debian.org>
initchroot.sh

index 9e0a6488e360a4cb8d098de8a5acef9068a16ea6..fcf3071cd74a9c6a99718264c5b4928e345979a5 100755 (executable)
@@ -141,7 +141,7 @@ for i in $k; do
        wget --continue -O cache/${pkg} ${i}
        cp cache/${pkg} ${ROOT_DIR}/${pkg} 
        (chroot ${ROOT_DIR} dpkg -i /${pkg})
-       rm -f ${ROOT_DIR}/${k}
+       rm -f ${ROOT_DIR}/${pkg}
 done
 
 # ensure certain modules get loaded during boot