- don't create empty files in todelete
authorMichael Schröder <mls@suse.de>
Thu, 21 Jun 2007 15:50:32 +0000 (15:50 +0000)
committerMichael Schröder <mls@suse.de>
Thu, 21 Jun 2007 15:50:32 +0000 (15:50 +0000)
init_buildsystem

index b81ae36..571363e 100755 (executable)
@@ -428,7 +428,7 @@ mkdir -p $BUILD_ROOT/.init_b_cache/todelete
 for PKG in $BUILD_ROOT/.init_b_cache/alreadyinstalled/* ; do
     PKG=${PKG##*/}
     test "$PKG" = "*" && continue
-    touch $BUILD_ROOT/.init_b_cache/todelete/$PKG
+    ln $BUILD_ROOT/.init_b_cache/alreadyinstalled/$PKG $BUILD_ROOT/.init_b_cache/todelete/$PKG
 done
 for PKG in $PACKAGES_TO_INSTALL_FIRST $PACKAGES_TO_INSTALL ; do
     rm -f $BUILD_ROOT/.init_b_cache/todelete/$PKG