From 131f0858d49d59206c50b061fbac098a1d3228fe Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Wed, 10 Jul 2013 15:48:40 +0200 Subject: [PATCH] [SCRIPTS] ~maj.sh : plus d'erreur pour une premiere installation --- scripts/maj.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 -- 2.20.1