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:
parent
b1d7a4b862
commit
c286f212a3
1 changed files with 13 additions and 4 deletions
|
@ -42,11 +42,20 @@ sudo chown root /etc/cron.d/ttrss
|
||||||
sudo apt-get install php5-cli -y
|
sudo apt-get install php5-cli -y
|
||||||
|
|
||||||
#add folder
|
#add folder
|
||||||
sudo mkdir $final_path/cache/{export,images,upload,js}
|
for i in export images upload js
|
||||||
sudo mkdir $final_path/{feed-icons,lock}
|
do
|
||||||
|
if [ ! -d $final_path/cache/$i ]
|
||||||
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
|
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
|
# Set permissions to ttrss directory
|
||||||
sudo chown -R www-data: $final_path
|
sudo chown -R www-data: $final_path
|
||||||
|
|
Loading…
Add table
Reference in a new issue