17 lines
369 B
Bash
Executable file
17 lines
369 B
Bash
Executable file
#!/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
|