summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2018-08-26 20:50:55 +0200
committermax.bra2018-08-26 20:50:55 +0200
commit1d5e5bfb86ef1e2a98c33bbc9818ccf2a971e434 (patch)
treed3ac95f97c6e617f5ddb38f6ffa7c0c04bc1fc4d
parentc4fee037282953609aec011ba56551e79e2453bc (diff)
downloadaur-1d5e5bfb86ef1e2a98c33bbc9818ccf2a971e434.tar.gz
nobody permission migration
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--pi-hole-server.install4
3 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 073a4c2a6258..061928dfa095 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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 = 4.0
- pkgrel = 4
+ pkgrel = 5
url = https://github.com/pi-hole/pi-hole
install = pi-hole-server.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 433e3c0d2050..e2c24d8d3002 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pi-hole-server
_pkgname=pi-hole
pkgver=4.0
-pkgrel=4
+pkgrel=5
_wwwpkgname=AdminLTE
_wwwpkgver=4.0
pkgdesc='The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server.'
diff --git a/pi-hole-server.install b/pi-hole-server.install
index 124dadc8193d..661ab196beb2 100644
--- a/pi-hole-server.install
+++ b/pi-hole-server.install
@@ -6,7 +6,7 @@ post_install() {
echo -e "\e[1;33m==>\e[0m Read setup instructions at \e[1;36mhttps://wiki.archlinux.org/index.php/Pi-hole\e[0m"
echo -e "\e[1;33m==>\e[0m Generating initial block list, please wait...\e[0m"
chown -R http:http /srv/http/pihole
- chown pihole:pihole /etc/pihole
+ chown nobody:nobody /etc/pihole
/opt/pihole/mimic_setupVars.conf.sh
# update lists on first run
@@ -23,7 +23,7 @@ post_upgrade() {
[ -e /etc/pihole/.useIPv6 ] && rm /etc/pihole/.useIPv6
# update owner of existing dir
- chown pihole:pihole /etc/pihole
+ chown nobody:nobody /etc/pihole
# warning