mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
[fix]use sudo command to get permission
This commit is contained in:
parent
c219f206a5
commit
d4fe28e971
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@ if [[ -f $final_path/data/dist_user.conf ]]; then
|
|||
rm $final_path/data/dist_user.conf
|
||||
fi
|
||||
#copy update script into freshrss path
|
||||
cp update-ynh.php $final_path/
|
||||
sudo cp update-ynh.php $final_path/
|
||||
#execute update
|
||||
sudo php $final_path/update-ynh.php
|
||||
|
||||
cp ../conf/dist_user.conf $final_path/data
|
||||
sudo cp ../conf/dist_user.conf $final_path/data
|
||||
# Set permissions to freshrss directory
|
||||
sudo chown -R www-data: $final_path/data
|
||||
|
|
Loading…
Add table
Reference in a new issue