aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-installer
diff options
context:
space:
mode:
authorM.Gergo2018-04-03 22:16:30 +0200
committerM.Gergo2018-04-03 22:16:30 +0200
commite0845d0b1aa1017b5bdc25fd028ca6f8f6922146 (patch)
treee2321a283ff578177e5f4fee62c22919c8cbea69 /mayor-installer
parent2a9ffe812db868cb1392edf56a85cc72c5657a0c (diff)
downloadmayor-e0845d0b1aa1017b5bdc25fd028ca6f8f6922146.tar.gz
mayor-e0845d0b1aa1017b5bdc25fd028ca6f8f6922146.zip
mayordir symlink a /var/mayor-ra
Diffstat (limited to 'mayor-installer')
-rwxr-xr-xmayor-installer/install.d/10getsource.sh3
1 files changed, 3 insertions, 0 deletions
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... "