From: Ludovic CHEVALIER Date: Wed, 10 Jul 2013 13:48:40 +0000 (+0200) Subject: [SCRIPTS] ~maj.sh : plus d'erreur pour une premiere installation X-Git-Tag: v3.3.0~134 X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=commitdiff_plain;h=131f0858d49d59206c50b061fbac098a1d3228fe [SCRIPTS] ~maj.sh : plus d'erreur pour une premiere installation --- diff --git a/scripts/maj.sh b/scripts/maj.sh index ee9e51e5..e13d3019 100755 --- a/scripts/maj.sh +++ b/scripts/maj.sh @@ -80,7 +80,11 @@ cmd rsync -a --delete \ "$NEW_SPIP_DIR/" \ "$CUR_SPIP_DIR/" -chmod 777 "$CUR_SPIP_DIR/IMG" -chmod 777 "$CUR_SPIP_DIR/config" -chmod 777 "$CUR_SPIP_DIR/local" -chmod 777 "$CUR_SPIP_DIR/tmp" +for SPECIAL_DIR in\ + IMG\ + config\ + local\ + tmp +do + install -d -m 777 "$CUR_SPIP_DIR/$SPECIAL_DIR" +done