diff options
Diffstat (limited to 'audio-players/beep-media-player-gui/PREPARE')
-rwxr-xr-x | audio-players/beep-media-player-gui/PREPARE | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/audio-players/beep-media-player-gui/PREPARE b/audio-players/beep-media-player-gui/PREPARE new file mode 100755 index 0000000000..a4866ca23e --- /dev/null +++ b/audio-players/beep-media-player-gui/PREPARE @@ -0,0 +1,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}" |