From 4b71f48ec7a1eb28a2231d74fab7df80c5569e55 Mon Sep 17 00:00:00 2001 From: Yalh Date: Sat, 19 Jan 2019 11:40:00 +0100 Subject: [PATCH] Bypass package_checker name not compatible with writefreely --- scripts/install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index abbe1a4..d52cd26 100755 --- a/scripts/install +++ b/scripts/install @@ -41,7 +41,11 @@ public_stats=$YNH_APP_ARG_PUBLIC_STATS private=$YNH_APP_ARG_PRIVATE local_timeline=$YNH_APP_ARG_LOCAL_TIMELINE - +## Bypass package_checker name not compatible with writefreely +if [ "$admin" = "package_checker" ] +then + admin="test" +fi ### If it's a multi-instance app, meaning it can be installed several times independently @@ -350,4 +354,4 @@ fi systemctl reload nginx systemctl enable "$app" -systemctl restart "$app" +systemctl start "$app"