1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh set -e REPOSITORY="/srv/$(hostname -f)/packages" cd "${REPOSITORY}" if [ ! -e conf ] then exit 0 fi rm -rf db dists pool project