From 09f37b6497e9d8221bc5bee5741b7798d3e90976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 28 May 2024 20:35:55 +0200 Subject: [PATCH] cleaning --- manifest.toml | 2 +- scripts/install | 5 ----- scripts/upgrade | 8 -------- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/manifest.toml b/manifest.toml index f1b8122..096996b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -6,7 +6,7 @@ name = "Watchdog" description.en = "Automatically reboot your server in case of freeze" description.fr = "Redémarre automatiquement votre serveur en cas de plantage" -version = "5.16~ynh1" +version = "5.16~ynh2" maintainers = ["tituspijean"] diff --git a/scripts/install b/scripts/install index e8afb1a..1278645 100644 --- a/scripts/install +++ b/scripts/install @@ -11,17 +11,12 @@ source /usr/share/yunohost/helpers #================================================= # WATCHDOG DEVICE CHECK #================================================= - ynh_script_progression --message="Checking the hardware watchdog device presence..." if [ ! -f /dev/watchdog ]; then ynh_die --message="Your server doesn't seem to have a '/dev/watchdog' device, this certainly means that it has no hardware watchdog device. However, this package is only relevant if such a device exists, we're sorry." fi -#================================================= -# INSTALL DEPENDENCIES -#================================================= - #================================================= # SYSTEM CONFIGURATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index cdf6ab8..00352c1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,14 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -upgrade_type=$(ynh_check_app_version_changed) - -#================================================= -# STANDARD UPGRADE STEPS -#================================================= -# ENSURE DOWNWARD COMPATIBILITY -#================================================= - #================================================= # STOP SYSTEMD SERVICE #=================================================