[Lunar-commits] r18310 - lunar-iso/trunk/lunar-install/sbin

Auke Kok sofar at lunar-linux.org
Tue Jan 24 22:24:46 UTC 2006


Author: sofar
Date: 2006-01-24 22:24:44 +0000 (Tue, 24 Jan 2006)
New Revision: 18310

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Copy the cache tarballs over to the installed system: eats up 120mb of hd space but gives you a nice backup copy of known-good tarballs making up your system.


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-01-24 21:59:06 UTC (rev 18309)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2006-01-24 22:24:44 UTC (rev 18310)
@@ -598,7 +598,8 @@
 	MOD=$(echo $LINE | cut -d: -f1)
 	VER=$(echo $LINE | cut -d: -f4)
 	SIZ=$(echo $LINE | cut -d: -f5)
-	tar xjf /var/cache/lunar/$MOD-$VER-*.tar.bz2 2> /dev/null
+	cp /var/cache/lunar/$MOD-$VER-*.tar.bz2 $TARGET/var/cache/lunar/
+	tar xjf $TARGET/var/cache/lunar/$MOD-$VER-*.tar.bz2 2> /dev/null
 	echo $LINE >> $TARGET/var/state/lunar/packages
 	cp $TARGET/var/state/lunar/packages $TARGET/var/state/lunar/packages.backup
 }



More information about the Lunar-commits mailing list