aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM.Gergo2018-04-03 22:16:30 +0200
committerM.Gergo2018-04-03 22:16:30 +0200
commite0845d0b1aa1017b5bdc25fd028ca6f8f6922146 (patch)
treee2321a283ff578177e5f4fee62c22919c8cbea69
parent2a9ffe812db868cb1392edf56a85cc72c5657a0c (diff)
downloadmayor-e0845d0b1aa1017b5bdc25fd028ca6f8f6922146.tar.gz
mayor-e0845d0b1aa1017b5bdc25fd028ca6f8f6922146.zip
mayordir symlink a /var/mayor-ra
-rwxr-xr-xmayor-installer-fcgi/fcgi_install.d/10getsource.sh3
-rwxr-xr-xmayor-installer-fcgi/install.d/10getsource.sh3
-rwxr-xr-xmayor-installer/install.d/10getsource.sh3
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... "