1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/writefreely_ynh.git synced 2024-09-03 20:36:02 +02:00

Bypass package_checker name not compatible with writefreely

This commit is contained in:
Yalh 2019-01-19 11:40:00 +01:00
parent 61c562cda8
commit 4b71f48ec7

View file

@ -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"