fix: repo remove folder
This commit is contained in:
parent
db9b25cb43
commit
8852c60c78
1 changed files with 1 additions and 0 deletions
1
build.sh
1
build.sh
|
@ -71,6 +71,7 @@ while read -r p; do
|
|||
done <aur.txt
|
||||
|
||||
del=$(git --no-pager diff ${CI_PREV_COMMIT_SHA}..HEAD aur.txt | tail -n +4 | grep -E '^-' | cut -c2-)
|
||||
del+=$(git --no-pager diff --name-status ${CI_PREV_COMMIT_SHA}..HEAD | grep -Po 'D\s+(\K.*)(?=/PKGBUILD)')
|
||||
if [[ -n "${del}" ]]; then
|
||||
# shellcheck disable=SC2086
|
||||
repo-remove -s /repo/nyyu.db.tar.zst ${del} || true
|
||||
|
|
Loading…
Add table
Reference in a new issue