diff --git a/README.md b/README.md index c5ae949..447f9a3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # writefreely_ynh -[![Integration level](https://dash.yunohost.org/integration/writefreely.svg)](https://ci-apps.yunohost.org/jenkins/job/writefreely%20%28Community%29/lastBuild/consoleFull) +[![Integration level](https://dash.yunohost.org/integration/writefreely.svg)](https://dash.yunohost.org/appci/app/writefreely) [![Install WriteFreely with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=writefreely) > *This package allow you to install WriteFreely quickly and simply on a YunoHost server. @@ -35,13 +35,13 @@ How to configure this app: by an admin panel, a plain file with SSH, or any othe No LDAP and no HTTP auth supported -Depending of the configuration, the app be used by multiple users? +Depending of the configuration, the app be used by multiple users #### Supported architectures -* x86-64b - [![Build Status](https://ci-apps.yunohost.org/jenkins/job/writefreely%20(Community)/badge/icon)](https://ci-apps.yunohost.org/jenkins/job/writefreely%20(Community)/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/jenkins/job/writefreely%20(Community)%20(%7EARM%7E)/badge/icon)](https://ci-apps-arm.yunohost.org/jenkins/job/writefreely%20(Community)%20(%7EARM%7E)/) -* Jessie x86-64b - [![Build Status](https://ci-stretch.nohost.me/jenkins/job/writefreely%20(Community)/badge/icon)](https://ci-stretch.nohost.me/jenkins/job/writefreely%20(Community)/) +* x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/writefreely%20%28Community%29.svg)](https://ci-apps.yunohost.org/ci/apps/writefreely/) +* ~~ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/writefreely%20%28Community%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/writefreely/)~~ +* Jessie x86-64b - [![Build Status](https://ci-stretch.nohost.me/ci/logs/writefreely%20%28Community%29.svg)](https://ci-stretch.nohost.me/ci/apps/writefreely/) ## Limitations diff --git a/check_process b/check_process index a07086e..98bdc34 100644 --- a/check_process +++ b/check_process @@ -37,7 +37,8 @@ Level 3=auto # Level 4: If the app supports LDAP and SSOwat, turn level 4 to '1' and add a link to an issue or a part of your code to show it. # If the app does not use LDAP nor SSOwat, and can't use them, turn level 4 to 'na' and explain as well. - Level 4=na #application doesn't support LDAP authentification + # Application doesn't support LDAP authentification + Level 4=1 Level 5=auto Level 6=auto Level 7=auto diff --git a/scripts/install b/scripts/install index e18a1b8..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 @@ -327,7 +331,7 @@ chown -R $app: /var/log/$app/ ### - Remove the section "REMOVE SERVICE FROM ADMIN PANEL" in the remove script ### - As well as the section ADVERTISE SERVICE IN ADMIN PANEL" in the restore script -yunohost service add $app --log "/var/log/$app/APP.log" +#yunohost service add $app --log "/var/log/$app/APP.log" # if using yunohost version 3.2 or more in the 'manifest.json', a description can be added #yunohost service add $app --description "$app daemon for XXX" --log "/var/log/$app/APP.log" diff --git a/scripts/remove b/scripts/remove index ec9d2ea..cde9be7 100755 --- a/scripts/remove +++ b/scripts/remove @@ -35,11 +35,11 @@ ynh_remove_systemd_config #================================================= # Remove a service from the admin panel, added by `yunohost service add` -if yunohost service status | grep -q $app -then - echo "Remove $app service" - yunohost service remove $app -fi +#if yunohost service status | grep -q $app +#then +# echo "Remove $app service" +# yunohost service remove $app +#fi #================================================= # REMOVE DEPENDENCIES diff --git a/scripts/restore b/scripts/restore index 70f3dec..fb939d1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -110,7 +110,7 @@ chown -R root: $final_path # ADVERTISE SERVICE IN ADMIN PANEL #================================================= -yunohost service add $app --log "/var/log/$app/APP.log" +#yunohost service add $app --log "/var/log/$app/APP.log" #================================================= # RESTORE SYSTEMD