FHS Location Changes

Per Debian Maintainers Guide:
"Most third-party software installs itself in the /usr/local directory hierarchy. On Debian this is reserved for private use by the system administrator, so packages must not use directories such as /usr/local/bin but should instead use system directories such as /usr/bin, obeying the Filesystem Hierarchy Standard (FHS)."
This commit is contained in:
Dan Schaper 2015-11-18 19:16:35 -08:00
parent 9c13d2d88b
commit cd74bf67ce

View file

@ -224,15 +224,15 @@ sudo rm /var/www/master.zip 2>/dev/null
sudo touch /var/log/pihole.log sudo touch /var/log/pihole.log
sudo chmod 644 /var/log/pihole.log sudo chmod 644 /var/log/pihole.log
sudo chown dnsmasq:root /var/log/pihole.log sudo chown dnsmasq:root /var/log/pihole.log
sudo curl -o /usr/local/bin/gravity.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh sudo curl -o /usr/bin/gravity.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh
sudo curl -o /usr/local/bin/chronometer.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/Scripts/chronometer.sh sudo curl -o /usr/bin/chronometer.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/Scripts/chronometer.sh
sudo curl -o /usr/local/bin/whitelist.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/Scripts/whitelist.sh sudo curl -o /usr/bin/whitelist.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/Scripts/whitelist.sh
sudo curl -o /usr/local/bin/piholeLogFlush.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/Scripts/piholeLogFlush.sh sudo curl -o /usr/bin/piholeLogFlush.sh https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/advanced/Scripts/piholeLogFlush.sh
sudo chmod 755 /usr/local/bin/gravity.sh sudo chmod 755 /usr/bin/gravity.sh
sudo chmod 755 /usr/local/bin/chronometer.sh sudo chmod 755 /usr/bin/chronometer.sh
sudo chmod 755 /usr/local/bin/whitelist.sh sudo chmod 755 /usr/bin/whitelist.sh
sudo chmod 755 /usr/local/bin/piholeLogFlush.sh sudo chmod 755 /usr/bin/piholeLogFlush.sh
sudo /usr/local/bin/gravity.sh sudo /usr/bin/gravity.sh
} }
######## SCRIPT ############ ######## SCRIPT ############