Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
admin
/
vcs
/
git
/
git-shell-commands
/
/srv/admin/vcs/git/git-shell-commands/purge-cache
#!/bin/sh # shellcheck source=guest/rootfs/init/start-lib.sh . /lib/start-lib.sh parse_json /srv/data/.paas case "$WWW_ENGINE" in python) [ ! -d /srv/data/tmp/uv-cache ] && (echo "No cache found."; exit 0) UV="/opt/python-${WWW_VERSION}/usr/bin/uv" UV_CACHE_DIR=/srv/data/tmp/uv-cache $UV cache clean ;; nodejs) [ ! -d /srv/data/tmp/npm-cache ] && (echo "No cache found."; exit 0) NPM="/opt/nodejs-${WWW_VERSION}/bin/npm" $NPM cache clean ;; esac