Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl
request-tracker
rt-clean-mason-cache
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rt-clean-mason-cache of Package request-tracker
#!/bin/sh # # Simple script to purge the mason cache # http://requesttracker.wikia.com/wiki/CleanMasonCache # CACHE_DIR="__RT_CACHEDIR__/mason_data/obj/" 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 if [ -x /usr/sbin/rcapache2 ]; then /usr/sbin/rcapache2 try-restart fi
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor