mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
fix hook after upgrade
This commit is contained in:
parent
27439cf961
commit
3a137d0bf4
1 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,11 @@ sudo cp $FINAL_PATH/data/config.php $TMPDIR/data/config.php
|
|||
sudo cp -r $FINAL_PATH/data/users/. $TMPDIR/data/users/
|
||||
sudo cp -r $FINAL_PATH/extensions/. $TMPDIR/extensions/
|
||||
|
||||
#update hook for multi instance
|
||||
sed -i "s@APPNAMETOCHANGE@$app@g" ../hooks/post_app_addaccess
|
||||
sed -i "s@APPNAMETOCHANGE@$app@g" ../hooks/post_user_create
|
||||
sed -i "s@APPNAMETOCHANGE@$app@g" ../hooks/post_user_delete
|
||||
|
||||
# Set permissions to freshrss directory
|
||||
sudo chown -R root:root $TMPDIR
|
||||
sudo chown -R www-data: $TMPDIR/data/
|
||||
|
|
Loading…
Reference in a new issue