diff options
author | max.bra | 2023-01-26 17:58:51 +0100 |
---|---|---|
committer | max.bra | 2023-01-26 17:58:51 +0100 |
commit | 20a11210171d4cbe922cc6bafab6b5923b843098 (patch) | |
tree | af5f50488ba62cb496afcca0fbf93e131ec7fe64 | |
parent | b3651819d86c4fa578bdbee47cbde043b909a1dd (diff) | |
download | aur-20a11210171d4cbe922cc6bafab6b5923b843098.tar.gz |
versions file missing
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | pi-hole-server.install | 10 |
3 files changed, 13 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = pi-hole-server pkgdesc = The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server. pkgver = 5.15.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pi-hole/pi-hole install = pi-hole-server.install arch = any @@ -30,8 +30,8 @@ pkgbase = pi-hole-server backup = etc/sudoers.d/pihole source = pi-hole-server-core-5.15.3.tar.gz::https://github.com/pi-hole/pi-hole/archive/v5.15.3.tar.gz source = pi-hole-server-admin-5.18.3.tar.gz::https://github.com/pi-hole/AdminLTE/archive/v5.18.3.tar.gz - source = arch-server-core-5.15.3-888748464.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.15.3.patch - source = arch-server-admin-5.18.3-888748464.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.18.3.patch + source = arch-server-core-5.15.3-718978638.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.15.3.patch + source = arch-server-admin-5.18.3-718978638.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.18.3.patch source = dnsmasq.include source = lighttpd.pi-hole.conf source = nginx.pi-hole.conf @@ -4,7 +4,7 @@ pkgname=pi-hole-server _pkgname=pi-hole pkgver=5.15.3 -pkgrel=1 +pkgrel=2 _wwwpkgname=AdminLTE _wwwpkgver=5.18.3 _now=`date +%N` diff --git a/pi-hole-server.install b/pi-hole-server.install index 103dbe3a7950..4baec4b887f3 100644 --- a/pi-hole-server.install +++ b/pi-hole-server.install @@ -22,6 +22,10 @@ post_install() { # setup dns server which by definition modifies /etc/dnsmasq.d/01-pihole.conf # and thus protects it from getting overwritten by package updates /usr/bin/pihole -a setdns 8.8.8.8,8.8.4.4 > /dev/null + + # /etc/pihole/versions file generation + echo -e "\e[1;33m==>\e[0m Creating 'versions' file...\e[0m" + /opt/pihole/updatecheck.sh } post_upgrade() { @@ -38,7 +42,11 @@ post_upgrade() { # query logging disabling needs this grep -qF 'QUERY_LOGGING=' /etc/pihole/setupVars.conf || echo 'QUERY_LOGGING=true' >> /etc/pihole/setupVars.conf - # warning + # /etc/pihole/versions file generation + echo -e "\e[1;33m==>\e[0m Updating 'versions' file...\e[0m" + /opt/pihole/updatecheck.sh + +# warning cache_problem # keep pacman from throwing errors should none them be on the filesystem |