1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ttrss_ynh.git synced 2024-10-01 13:34:46 +02:00

Update install

This commit is contained in:
abeudin 2015-02-20 09:59:58 +01:00
parent b1d7a4b862
commit c286f212a3

View file

@ -42,11 +42,20 @@ sudo chown root /etc/cron.d/ttrss
sudo apt-get install php5-cli -y
#add folder
sudo mkdir $final_path/cache/{export,images,upload,js}
sudo mkdir $final_path/{feed-icons,lock}
sudo chmod -R 777 $final_path/cache/images && sudo chmod -R 777 $final_path/cache/upload && sudo chmod -R 777 $final_path/cache/export && sudo chmod -R 777 $final_path/cache/js && sudo chmod -R 777 $final_path/feed-icons && sudo chmod -R 777 $final_path/lock
for i in export images upload js
do
if [ ! -d $final_path/cache/$i ]
sudo mkdir $final_path/cache/$i
if
sudo chmod -R 777 $final_path/cache/$i
done
for i in feed-icons lock
if [ ! -d $final_path/$i ]
sudo mkdir $final_path/$i
fi
sudo chmod -R 777 $final_path/$i
done
# Set permissions to ttrss directory
sudo chown -R www-data: $final_path