18 lines
369 B
Text
18 lines
369 B
Text
|
#!/bin/bash
|
||
|
set -uo pipefail
|
||
|
# shellcheck disable=SC2154
|
||
|
trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR
|
||
|
|
||
|
REPO_NAME=grawlinson
|
||
|
REPO_PATH="/var/lib/repo/$REPO_NAME"
|
||
|
REPO_EXT=".db.tar.xz"
|
||
|
|
||
|
repo-remove \
|
||
|
--sign \
|
||
|
"${REPO_PATH}/${REPO_NAME}${REPO_EXT}" \
|
||
|
"$@"
|
||
|
|
||
|
printf "Don't forget to remove the package files from the repository!\n"
|
||
|
|
||
|
exit 0
|