summaryrefslogtreecommitdiffstats
path: root/bin/reprepro_reset.sh
blob: 7ce6a7971f21076a678ff609cd7fa6f241fa6afd (plain)
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