From 33659a3969e048910e703f7eefa43cbcdd20335b Mon Sep 17 00:00:00 2001 From: nyyu Date: Sat, 2 Jul 2022 10:47:43 +0200 Subject: [PATCH] replace with nginx-mod-fancyindex --- aur.txt | 3 +-- build.sh | 10 ++++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/aur.txt b/aur.txt index f48b091..cee205b 100644 --- a/aur.txt +++ b/aur.txt @@ -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 diff --git a/build.sh b/build.sh index ac9b8f5..6d945b1 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +# shellcheck disable=SC3044,SC3009 . .util.sh @@ -6,7 +7,7 @@ build() { if grep -c 'git+' PKGBUILD >/dev/null && ! grep -c '#tag=' PKGBUILD >/dev/null; then makepkg --nodeps --nobuild --skippgpcheck --noconfirm - makepkg --printsrcinfo >.SRCINFO + makepkg --printsrcinfo > .SRCINFO fi name=$(grep -m1 'pkgname' .SRCINFO | cut -d'=' -f2 | tr -d ' ') ver=$(grep 'pkgver' .SRCINFO | cut -d'=' -f2 | tr -d ' ') @@ -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