Sudo permissions fix

This commit is contained in:
MathuSum Mut
2018-11-06 23:57:07 +01:00
parent e79a208ea1
commit 6af611e690

View File

@@ -12,4 +12,9 @@ cd build
mkdir data
cd data
git pull
if [ `id -u`'x' == '0x' ] || [ "$1" == "--manually" ]; then
chmod -R 777 ../../build/
cd ../../../..
chmod -R 777 .git/
fi
cd $currentDir