blob: a4866ca23e6fe1e095e752c0675693a7437b14e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#simple hack to remove old cache before it becomes a problem
#PREPARE doesn't know version, atleast old version is covered by "prune"
NUMBER="$(grep VERSION= $SCRIPT_DIRECTORY/DETAILS | cut -d= -f2)"
OLDCACHE="$INSTALL_CACHE/$SPELL-$NUMBER-$BUILD.tar.bz2"
if [ -f $OLDCACHE ] ;
then rm -rf $OLDCACHE
fi &&
message "${SPELL_COLOR} ${SPELL} won't ARCHIVE installed files${DEFAULT_COLOR}"
|