blob: e0514cf8e7583d71e7854c69fb6d32b465b3060f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
post_install() {
cat <<- EOF
==> please read configuration instructions at /usr/share/doc/pihole/configuration
==> lighttpd config file is changed. please uninstall and reinstall following configuration steps.
==> first install/update run...
EOF
chown -R http.http /srv/http/pihole
systemd-tmpfiles --create pi-hole.conf
/usr/bin/gravity.sh > /dev/null
}
post_upgrade() {
post_install $1
}
post_remove() {
rm -R /etc/pihole/
rm /run/log/pihole.log
}
|