replace with nginx-mod-fancyindex
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2022-07-02 10:47:43 +02:00
parent 9756cf65fa
commit 33659a3969
2 changed files with 9 additions and 4 deletions

View File

@ -34,8 +34,7 @@ megatools
molotov
native-image-jdk17-bin
ncurses5-compat-libs
nginx-mainline-mod-brotli
nginx-mainline-mod-fancyindex
nginx-mod-fancyindex
nordvpn-bin
oh-my-zsh-git
onlyoffice-bin

View File

@ -1,4 +1,5 @@
#!/bin/bash
# shellcheck disable=SC3044,SC3009
. .util.sh
@ -30,6 +31,7 @@ build() {
git config user.email "drone@nyyu.dev"
git config user.name "drone"
git remote set-url origin "${DRONE_GIT_HTTP_URL}"
# shellcheck disable=SC2016
git config credential.helper '!f() { sleep 1; echo "username=drone"; echo "password=${GIT_PASSWORD}"; }; f'
for d in */; do
@ -59,4 +61,8 @@ while read -r p; do
cd ..
done <aur.txt
repo-remove -s /repo/nyyu.db.tar.zst $(git --no-pager diff HEAD~${DRONE_COMMIT_BEFORE} aur.txt | tail -n +4 | grep -E '^-' | cut -c2-)
del=$(git --no-pager diff HEAD~${DRONE_COMMIT_BEFORE} aur.txt | tail -n +4 | grep -E '^-' | cut -c2-)
if [ -n "${del}" ]; then
# shellcheck disable=SC2086
repo-remove -s /repo/nyyu.db.tar.zst ${del}
fi