diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-16 17:23:22 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-07-16 17:23:22 +0200 |
commit | 83248f4ce9eb27f6c0670897cefc65fa017f5d75 (patch) | |
tree | 862cdea024e1142047ee6744430549fc72117447 | |
parent | 3f2331630e03eb7188f1da53600652e3a710e6b9 (diff) | |
download | Ishtar-83248f4ce9eb27f6c0670897cefc65fa017f5d75.tar.bz2 Ishtar-83248f4ce9eb27f6c0670897cefc65fa017f5d75.zip |
Install script: add media/upload dir
-rwxr-xr-x | install/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/install.sh b/install/install.sh index 3ed72a25c..e1476e7af 100755 --- a/install/install.sh +++ b/install/install.sh @@ -161,7 +161,8 @@ sed -s "s|#APP_NAME#|$APP_NAME|g;\ ln -s $INSTALL_PATH'/conf/local_settings.py' $APP_DIR'/local_settings.py' # rights -mkdir $APP_DIR'/media' +mkdir -p "$APP_DIR/media/imported" +mkdir -p "$APP_DIR/media/upload" chown -R root:www-data $APP_DIR'/media' chmod -R g+w $APP_DIR'/media' |