From a17252eb56a5d70233c981d9c7b810bff16dc39d Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Sun, 26 Apr 2020 06:57:25 +0530 Subject: [PATCH] replace sting error --- check_process | 15 +++------------ manifest.json | 2 +- scripts/install | 4 ++-- scripts/restore | 4 ++-- 4 files changed, 8 insertions(+), 17 deletions(-) diff --git a/check_process b/check_process index 187ae84..04683f1 100644 --- a/check_process +++ b/check_process @@ -17,22 +17,13 @@ upgrade=1 backup_restore=0 multi_instance=0 - incorrect_path=1 + # This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version. + # incorrect_path=1 port_already_use=1 change_url=0 ;;; Levels - Level 1=auto - Level 2=auto - 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=0 + # If the level 5 (Package linter) is forced to 1. Please add justifications here. Level 5=auto - Level 6=auto - Level 7=auto - Level 8=0 - Level 9=0 - Level 10=0 ;;; Options Email= Notification=none diff --git a/manifest.json b/manifest.json index d66e023..680874a 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "en": "Webmin", "fr": "Webmin" }, - "version": "1.890ynh1", + "version": "1.941~ynh1", "url": "http://www.webmin.com", "license": "free", "maintainer": { diff --git a/scripts/install b/scripts/install index 5ca5704..d5d238d 100644 --- a/scripts/install +++ b/scripts/install @@ -127,8 +127,8 @@ apt-get install -y webmin ### `ynh_replace_string` is used to replace a string in a file. ### (It's compatible with sed regular expressions syntax) -ynh_replace_string --match_string="port=10000" --replace_string"port=$port" --target_file="/etc/webmin/miniserv.conf" -ynh_replace_string --match_string="listen=10000" --replace_string"listen=$port" --target_file="/etc/webmin/miniserv.conf" +ynh_replace_string --match_string="port=10000" --replace_string="port=$port" --target_file="/etc/webmin/miniserv.conf" +ynh_replace_string --match_string="listen=10000" --replace_string="listen=$port" --target_file="/etc/webmin/miniserv.conf" #================================================= # STORE THE CONFIG FILE CHECKSUM diff --git a/scripts/restore b/scripts/restore index 232f4dc..4efbf78 100755 --- a/scripts/restore +++ b/scripts/restore @@ -79,8 +79,8 @@ apt-get install -y webmin ### `ynh_replace_string` is used to replace a string in a file. ### (It's compatible with sed regular expressions syntax) -ynh_replace_string --match_string="port=10000" --replace_string"port=$port" --target_file="/etc/webmin/miniserv.conf" -ynh_replace_string --match_string="listen=10000" --replace_string"listen=$port" --target_file="/etc/webmin/miniserv.conf" +ynh_replace_string --match_string="port=10000" --replace_string="port=$port" --target_file="/etc/webmin/miniserv.conf" +ynh_replace_string --match_string="listen=10000" --replace_string="listen=$port" --target_file="/etc/webmin/miniserv.conf" #================================================= # SETUP SSOWAT #=================================================