aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-portal/update/rev004716-1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/mayor-portal/update/rev004716-1.sh')
-rw-r--r--mayor-orig/mayor-portal/update/rev004716-1.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/mayor-orig/mayor-portal/update/rev004716-1.sh b/mayor-orig/mayor-portal/update/rev004716-1.sh
new file mode 100644
index 00000000..d58a4a75
--- /dev/null
+++ b/mayor-orig/mayor-portal/update/rev004716-1.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+BASEDIR="/var/mayor"
+
+DIR="$BASEDIR/download/public/portal/upload/"
+mkdir -p $DIR
+chown -R www-data $DIR
+ln -s $DIR $BASEDIR/www/upload
+echo "$DIR Kész."
+