Hi,
I tried the script, tarr'ed up my database and deleted local/
What i suggest is, in the latter part of the script, change pacman
-Uf ... to pacman -Ufd ...., else pacman will complain about
dependency problems and exit. Thats what i experienced...
For lazy people, heres the patch :P ;)
# START
--- test.sh.1 2005-12-27 09:36:25.000000000 +0530
+++ test.sh.2 2005-12-27 09:36:42.000000000 +0530
@@ -26,6 +26,6 @@
for pkg in `/bin/ls`; do
if [ -f "${CACHE_PATH}/${pkg}.pkg.tar.gz" ]; then
- pacman -Uf $CACHE_PATH/$pkg.pkg.tar.gz
+ pacman -Ufd $CACHE_PATH/$pkg.pkg.tar.gz
fi
done
# END
HTH,
Rohan.
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch