diff options
author | M.Gergo | 2018-04-03 22:16:30 +0200 |
---|---|---|
committer | M.Gergo | 2018-04-03 22:16:30 +0200 |
commit | e0845d0b1aa1017b5bdc25fd028ca6f8f6922146 (patch) | |
tree | e2321a283ff578177e5f4fee62c22919c8cbea69 | |
parent | 2a9ffe812db868cb1392edf56a85cc72c5657a0c (diff) | |
download | mayor-e0845d0b1aa1017b5bdc25fd028ca6f8f6922146.tar.gz mayor-e0845d0b1aa1017b5bdc25fd028ca6f8f6922146.zip |
mayordir symlink a /var/mayor-ra
-rwxr-xr-x | mayor-installer-fcgi/fcgi_install.d/10getsource.sh | 3 | ||||
-rwxr-xr-x | mayor-installer-fcgi/install.d/10getsource.sh | 3 | ||||
-rwxr-xr-x | mayor-installer/install.d/10getsource.sh | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/mayor-installer-fcgi/fcgi_install.d/10getsource.sh b/mayor-installer-fcgi/fcgi_install.d/10getsource.sh index 0ae2f669..4aeab546 100755 --- a/mayor-installer-fcgi/fcgi_install.d/10getsource.sh +++ b/mayor-installer-fcgi/fcgi_install.d/10getsource.sh @@ -66,6 +66,9 @@ echo -n -e "\nRendszer könyvtár: " if [ ! -e $MAYORDIR ]; then mkdir -p $MAYORDIR fi +if [ ! -e "/var/mayor" ]; then + ln -s $MAYORDIR /var/mayor +fi echo $MAYORDIR echo -e -n "Források kicsomagolása... " diff --git a/mayor-installer-fcgi/install.d/10getsource.sh b/mayor-installer-fcgi/install.d/10getsource.sh index 0ae2f669..4aeab546 100755 --- a/mayor-installer-fcgi/install.d/10getsource.sh +++ b/mayor-installer-fcgi/install.d/10getsource.sh @@ -66,6 +66,9 @@ echo -n -e "\nRendszer könyvtár: " if [ ! -e $MAYORDIR ]; then mkdir -p $MAYORDIR fi +if [ ! -e "/var/mayor" ]; then + ln -s $MAYORDIR /var/mayor +fi echo $MAYORDIR echo -e -n "Források kicsomagolása... " diff --git a/mayor-installer/install.d/10getsource.sh b/mayor-installer/install.d/10getsource.sh index 0ae2f669..19c186dc 100755 --- a/mayor-installer/install.d/10getsource.sh +++ b/mayor-installer/install.d/10getsource.sh @@ -66,6 +66,9 @@ echo -n -e "\nRendszer könyvtár: " if [ ! -e $MAYORDIR ]; then mkdir -p $MAYORDIR fi +if [ ! -e "/var/mayor" ]; then + ln -s $MAYORDIR /var/mayor +fi echo $MAYORDIR echo -e -n "Források kicsomagolása... " |