diff options
author | Cyril Brulebois <cyril@debamax.com> | 2016-04-03 05:17:23 +0200 |
---|---|---|
committer | Cyril Brulebois <cyril@debamax.com> | 2016-04-03 05:59:18 +0200 |
commit | f99df602f341b1aca1af44b44080d054303545cd (patch) | |
tree | ce5e3b6cb8b863f2c4ef45bfc9e4cf5cebbc217a /install | |
parent | ac8c5e9f1d02bbc235f4c1a2664f1ab8d3c3798f (diff) | |
download | Ishtar-f99df602f341b1aca1af44b44080d054303545cd.tar.bz2 Ishtar-f99df602f341b1aca1af44b44080d054303545cd.zip |
Use 'mkdir -p' to create intermediate directory where needed.
Diffstat (limited to 'install')
-rwxr-xr-x | install/install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/install.sh b/install/install.sh index 049a8a34a..c5cf57068 100755 --- a/install/install.sh +++ b/install/install.sh @@ -122,7 +122,7 @@ fi echo '* get sources' -mkdir $INSTALL_PATH +mkdir -p $INSTALL_PATH mkdir $INSTALL_PATH'/conf' cd $INSTALL_PATH @@ -164,7 +164,7 @@ 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' chown -R root:www-data $APP_DIR'/media' chmod -R g+w $APP_DIR'/media' |