1 2 3 4 5 6 7 8 9 10 11
clear_cache(){ rm -rf /var/lib/domjudge/webapp/var/cache/* } pre_remove(){ clear_cache } pre_update(){ clear_cache }