diff --git a/manifest.toml b/manifest.toml index a66e148..07c7c32 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Miniflux" description.en = "Minimalist and opinionated RSS feed reader" description.fr = "Agrégateur de flux RSS minimaliste" -version = "2.0.51~ynh1" +version = "2.0.51~ynh2" maintainers = ["eric_G"] diff --git a/scripts/install b/scripts/install index c1122f6..60df0a9 100644 --- a/scripts/install +++ b/scripts/install @@ -28,7 +28,6 @@ ynh_psql_execute_as_root --sql="CREATE EXTENSION hstore;" --database=$db_name #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" @@ -50,12 +49,10 @@ chown $app "$install_dir/$app.conf" #================================================= ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 -# Create a dedicated NGINX config ynh_add_nginx_config ynh_add_systemd_config -# Use logrotate to manage application logfile(s) ynh_use_logrotate yunohost service add $app --description="Minimalist feed reader" --log="/var/log/$app/$app.log" @@ -65,7 +62,6 @@ yunohost service add $app --description="Minimalist feed reader" --log="/var/log #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -# Start a systemd service ynh_systemd_action --service_name=$app --action=start --log_path=systemd #================================================= diff --git a/scripts/remove b/scripts/remove index 16a29c2..a959a08 100644 --- a/scripts/remove +++ b/scripts/remove @@ -16,20 +16,16 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 -# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then ynh_script_progression --message="Removing $app service..." --weight=1 yunohost service remove $app fi -# Remove the dedicated systemd config ynh_remove_systemd_config -# Remove the dedicated NGINX config ynh_remove_nginx_config -# Remove the app-specific logrotate config ynh_remove_logrotate #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 255f3f7..fc4d97e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -32,7 +32,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=5 - # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir=$install_dir --keep="$app.conf" fi @@ -45,12 +44,10 @@ chmod +x "$install_dir/miniflux" #================================================= ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 -# Create a dedicated NGINX config ynh_add_nginx_config ynh_add_systemd_config -# Use logrotate to manage app-specific logfile(s) ynh_use_logrotate --non-append yunohost service add $app --description="Minimalist feed reader" --log="/var/log/$app/$app.log"