mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Only take out scripts in the directory, don't remove the directory as a whole. Need this for the future installs.
This commit is contained in:
parent
9c83825cb8
commit
db0f3307e0
1 changed files with 1 additions and 2 deletions
|
@ -593,8 +593,7 @@ installScripts() {
|
||||||
echo ":::"
|
echo ":::"
|
||||||
echo -n "::: Installing scripts to /opt/pihole..."
|
echo -n "::: Installing scripts to /opt/pihole..."
|
||||||
#clear out /opt/pihole and recreate it. This allows us to remove scripts from future installs
|
#clear out /opt/pihole and recreate it. This allows us to remove scripts from future installs
|
||||||
rm -rf /opt/pihole
|
rm -f /opt/pihole/*.sh
|
||||||
install -o "${USER}" -m755 -d /opt/pihole
|
|
||||||
|
|
||||||
cd /etc/.pihole/
|
cd /etc/.pihole/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue