https://bugzilla.novell.com/show_bug.cgi?id=722582 https://bugzilla.novell.com/show_bug.cgi?id=722582#c3 Lars Vogdt <lrupp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|darin@darins.net | Resolution| |FIXED --- Comment #3 from Lars Vogdt <lrupp@suse.com> 2011-10-07 16:19:00 CEST --- Thanks! First implementation done (see revision 32): cat << \EOF >> %{buildroot}%{rt_sbindir}/rt-clean-mason-cache #!/bin/sh # # Simple script to purge the mason cache # http://requesttracker.wikia.com/wiki/CleanMasonCache CACHE_DIR="%{rt_cachedir}/mason_data" if [ ! -d "$CACHE_DIR" ]; then echo "Nothing to clean, the mason cache directory does not exist" >&2 exit 1 fi if [ "$CACHE_DIR" != "/" ] && [ "$CACHE_DIR" != "" ]; then find "$CACHE_DIR" -type f -exec rm -f {} ; fi echo "Apache must be restarted!" test -x %{_sysconfdir}/init.d/apache2 && %{_sysconfdir}/init.d/apache2 try-restart EOF -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.