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

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