diff --git a/manifest.json b/manifest.json index 66c4691..c7359be 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "squid3", - "id": "squid", + "id": "squid3", "packaging_format": 1, "description": { "en": "Squid 3 package for Yunohost" diff --git a/scripts/_common.sh b/scripts/_common.sh index 3c894b7..61ca962 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -56,3 +56,4 @@ $app_message --- Automatic diagnosis data from YunoHost $(yunohost tools diagnosis | grep -B 100 "services:" | sed '/services:/d')" +} diff --git a/scripts/install b/scripts/install index 4ed356d..3c3abbe 100755 --- a/scripts/install +++ b/scripts/install @@ -56,15 +56,12 @@ ynh_app_setting_set $app port $port ynh_install_app_dependencies squid3 mailutils - #================================================= # MODIFY A CONFIG FILE #================================================= ### `ynh_replace_string` is used to replace a string in a file. ### (It's compatible with sed regular expressions syntax) - -ynh_replace_string "__ADMIN_PASS__" "$admin_pass_yuno" "../conf/squid.conf" ynh_replace_string "__PORT__" "$port" "../conf/squid.conf" cp -f "../conf/squid.conf" "/etc/squid3/." #=================================================