diff --git a/scripts/upgrade b/scripts/upgrade index 97f48e4..9f0d5f6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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/