https://bugzilla.novell.com/show_bug.cgi?id=722582 https://bugzilla.novell.com/show_bug.cgi?id=722582#c0 Summary: home:lrupp:request-tracker/request-tracker: Enhancement script to clean mason cache Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: 3rd party software AssignedTo: lrupp@suse.com ReportedBy: darin@darins.net QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- Occasional the need arises to clean the mason cache, as described in http://requesttracker.wikia.com/wiki/CleanMasonCache. This is a simple little script I've been using for this purpose. ###BEGIN### #!/bin/sh # # Simple script to purge the mason cache # http://requesttracker.wikia.com/wiki/CleanMasonCache CACHE_DIR=/var/cache/request-tracker/mason_data if [ ! -d $CACHE_DIR ]; then echo "Nothing to clean, the mason cache directory does not exist" exit 1 fi find $CACHE_DIR -type f -exec rm -f {} + echo "Apache must be restarted!" exit 0 ###END### -- 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.