blob: a32653185203a7843d447e0000d393e739230a01 (
plain)
- #!/bin/sh
- set -e
- THISDIR=$(dirname "$0")
- HOMEDIR=~www-deb
- INDIR=/srv/deb/UploadQueue
- [ -d $HOMEDIR ] || {
- echo "ERROR: user www-deb missing" >/dev/stderr
- exit 1
- }
- BASEDIR="$HOMEDIR/private_webdata/reprepro"
- [ -d "$BASEDIR/conf" ] || cp "$THISDIR/conf" "$BASEDIR"
- mkdir -p "$INDIR"
- chown www-deb: "$INDIR"
- chmod g+s "$INDIR"
|