aboutsummaryrefslogtreecommitdiff
path: root/scripts/update_repo.sh
blob: 6e517547627e5b476b0e2e126c2c95640cc06b85 (plain)
1
2
3
4
5
#!/bin/bash

OUTPUT=${OUTPUT:-/srv/pkg/}
repo-add -p -R "$OUTPUT/repo.db.tar.gz" "$OUTPUT/"*.pkg.* || exit 1
rm -f "$OUTDIR/"*.old