[Frugalware-darcs] pacman: makepkg: -RCC option
VMiklos
vmiklos at frugalware.org
Thu Mar 16 17:48:27 CET 2006
[makepkg: -RCC option
VMiklos <vmiklos at frugalware.org>**20060203230317
closes #316
] {
hunk ./scripts/makepkg 466
- --cleancache) CLEANCACHE=1 ;;
+ --cleancache) CLEANCACHE=$(($CLEANCACHE+1)) ;;
hunk ./scripts/makepkg 501
- C) CLEANCACHE=1 ;;
+ C) CLEANCACHE=$(($CLEANCACHE+1)) ;;
hunk ./scripts/makepkg 559
-if [ "$CLEANCACHE" = "1" ]; then
+if [ $CLEANCACHE -ge 1 ]; then
hunk ./scripts/makepkg 561
- msg "Cleaning up source files from the cache."
- rm -rf /var/cache/pacman/src/*
+ if [ $CLEANCACHE -ge 2 ]; then
+ msg "Cleaning up source files from the cache."
+ rm -rf /var/cache/pacman/src/*
+ fi
}
More information about the Frugalware-darcs
mailing list