From 8e439d7919a3479e19f81d77e1f3574a773b0e80 Mon Sep 17 00:00:00 2001 From: abeudin Date: Fri, 20 Feb 2015 10:03:58 +0100 Subject: [PATCH] Update install --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 55abe73..0e06370 100644 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,8 @@ sudo apt-get install php5-cli -y #add folder for i in export images upload js do - if [ ! -d $final_path/cache/$i ] + if [ ! -d $final_path/cache/$i ]; + then sudo mkdir $final_path/cache/$i fi sudo chmod -R 777 $final_path/cache/$i @@ -52,7 +53,8 @@ done for i in feed-icons lock do - if [ ! -d $final_path/$i ] + if [ ! -d $final_path/$i ]; + then sudo mkdir $final_path/$i fi sudo chmod -R 777 $final_path/$i