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:
parent
61c562cda8
commit
4b71f48ec7
1 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue