diff options
author | max.bra | 2023-01-26 18:01:38 +0100 |
---|---|---|
committer | max.bra | 2023-01-26 18:01:38 +0100 |
commit | 45dd03b977c0b6b0a35b2b6da3b1da9b107db41c (patch) | |
tree | 3a143d22d607ee192a7f8b0051b2274076b192f8 | |
parent | 271f3626c78f4db7edf8bfb5b20aacac7ed7ed78 (diff) | |
download | aur-45dd03b977c0b6b0a35b2b6da3b1da9b107db41c.tar.gz |
versions file missing
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | pi-hole-standalone.install | 8 |
3 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = pi-hole-standalone pkgdesc = The Pi-hole is an advertising-aware DNS/Web server. Arch alteration for standalone PC. pkgver = 5.15.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/pi-hole/pi-hole install = pi-hole-standalone.install arch = any @@ -17,7 +17,7 @@ pkgbase = pi-hole-standalone conflicts = pi-hole-server backup = etc/dnsmasq.d/01-pihole.conf source = pi-hole-standalone-core-5.15.3.tar.gz::https://github.com/pi-hole/pi-hole/archive/v5.15.3.tar.gz - source = arch-server-core-5.15.3-613747226.patch::https://raw.githubusercontent.com/max72bra/pi-hole-standalone-archlinux-customization/master/arch-server-core-5.15.3.patch + source = arch-server-core-5.15.3-591914489.patch::https://raw.githubusercontent.com/max72bra/pi-hole-standalone-archlinux-customization/master/arch-server-core-5.15.3.patch source = dnsmasq.include source = pi-hole.tmpfile source = pi-hole-gravity.service @@ -3,7 +3,7 @@ pkgname=pi-hole-standalone _pkgname=pi-hole pkgver=5.15.3 -pkgrel=1 +pkgrel=2 _now=`date +%N` pkgdesc='The Pi-hole is an advertising-aware DNS/Web server. Arch alteration for standalone PC.' arch=('any') diff --git a/pi-hole-standalone.install b/pi-hole-standalone.install index 8ae75a612e30..d6e7c21ca4ee 100644 --- a/pi-hole-standalone.install +++ b/pi-hole-standalone.install @@ -14,6 +14,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() { @@ -27,6 +31,10 @@ post_upgrade() { # query logging disabling needs this grep -qF 'QUERY_LOGGING=' /etc/pihole/setupVars.conf || echo 'QUERY_LOGGING=true' >> /etc/pihole/setupVars.conf + # /etc/pihole/versions file generation + echo -e "\e[1;33m==>\e[0m Updating 'versions' file...\e[0m" + /opt/pihole/updatecheck.sh + # warning # keep pacman from throwing errors should none them be on the filesystem |