diff --git a/conf/freshrss-deps.control b/conf/freshrss-deps.control index 4c48cc8..7f100d7 100644 --- a/conf/freshrss-deps.control +++ b/conf/freshrss-deps.control @@ -4,7 +4,7 @@ Homepage: https://github.com/FreshRSS/FreshRSS Standards-Version: 3.9.2 Package: freshrss-deps -Version: 1.8.0 +Version: 1.10.1 Depends: php5-cli, php5-gmp Architecture: all Description: meta package for freshrss dependencies diff --git a/hooks/post_app_addaccess b/hooks/post_app_addaccess index 7d5d247..1bd3e0c 100755 --- a/hooks/post_app_addaccess +++ b/hooks/post_app_addaccess @@ -1,6 +1,5 @@ #!/bin/bash - -app=$YNH_APP_INSTANCE_NAME +app=APPNAMETOCHANGE new_users=$2 app_path=/var/www/$app diff --git a/hooks/post_user_create b/hooks/post_user_create index bc39483..99c8c2e 100755 --- a/hooks/post_user_create +++ b/hooks/post_user_create @@ -1,5 +1,5 @@ #!/bin/bash -app=$YNH_APP_INSTANCE_NAME +app=APPNAMETOCHANGE app_path=/var/www/$app myuser=$1 diff --git a/hooks/post_user_delete b/hooks/post_user_delete index bcccdf0..9b978a5 100755 --- a/hooks/post_user_delete +++ b/hooks/post_user_delete @@ -1,5 +1,5 @@ #!/bin/bash -app=$YNH_APP_INSTANCE_NAME +app=APPNAMETOCHANGE app_path=/var/www/$app myuser=$1 diff --git a/scripts/_common.sh b/scripts/_common.sh index c6fa093..094ed59 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,7 @@ # APPNAME="freshrss" # FreshRSS version -VERSION="1.10.0" +VERSION="1.10.1" # FreshRSS complete tarball checksum FRESHRSS_SOURCE_SHA256="76737974c9ea670aef5a089a3716d40a83e8896571aaac906b615c28d420af83" diff --git a/scripts/install b/scripts/install index c7dfc19..ea0ff87 100755 --- a/scripts/install +++ b/scripts/install @@ -72,6 +72,11 @@ sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf sed -i "s@ALIASTOCHANGE@$FINAL_PATH/@g" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf +#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 + #install update cron # Add cron job cron_path="/etc/cron.d/$app"