mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
Now the file path of the install.sh script is absolute, therefore it will be possible to launch the script also from other path like:
/bin/bash /home/myuser/PirateBoxScripts_Webserver-master/piratebox/install.sh This also corrects a wrong path on line 47 that was causing the install script to fail.
This commit is contained in:
parent
530b050964
commit
3ae5c4d016
|
@ -18,6 +18,7 @@
|
|||
#=======================================================================
|
||||
#Import PirateBox conf
|
||||
CURRENT_CONF=piratebox/conf/piratebox.conf
|
||||
scriptfile="$(readlink -f $0)"
|
||||
CURRENT_DIR="$(dirname ${scriptfile})"
|
||||
|
||||
#Must be root
|
||||
|
|
Loading…
Reference in a new issue