Skip to content
Snippets Groups Projects
Commit fcf4d0ec authored by alvaro's avatar alvaro
Browse files

adding warnings

parent c6f7aa76
No related branches found
No related tags found
No related merge requests found
...@@ -186,8 +186,14 @@ normal=`tput sgr0` ...@@ -186,8 +186,14 @@ normal=`tput sgr0`
wwwUser=`ps aux|egrep "apache|httpd|www" |egrep -v "grep|root"|awk '{print $1}'|uniq|tail -1` wwwUser=`ps aux|egrep "apache|httpd|www" |egrep -v "grep|root"|awk '{print $1}'|uniq|tail -1`
if [ ! -z "$_chmod" ]; then if [ ! -z "$_chmod" ]; then
echo
echo "WARNING: Automatically changing permissions of cache, meta, components and settings.inc.php to $_chmod"
echo
chmod -R $_chmod $DIR/cache $DIR/meta $DIR/components $DIR/settings.inc.php chmod -R $_chmod $DIR/cache $DIR/meta $DIR/components $DIR/settings.inc.php
elif [ ! -z "$_chown" ]; then elif [ ! -z "$_chown" ]; then
echo
echo "WARNING: Automatically changing ownership of cache, meta, components and settings.inc.php to $_chown"
echo
chown -R $_chown $DIR/cache $DIR/meta $DIR/components $DIR/settings.inc.php chown -R $_chown $DIR/cache $DIR/meta $DIR/components $DIR/settings.inc.php
else else
echo echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment