From 23f9f926faa0c8e006fe40858969d4734b300134 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Tue, 2 Sep 2025 22:31:14 +0200 Subject: [PATCH] [autopatch] Automatic patch to use nodejs/ruby/go/compose resources + remove empty _common.sh --- scripts/_common.sh | 5 ----- scripts/backup | 4 ++-- scripts/change_url | 2 +- scripts/install | 2 +- scripts/remove | 2 +- scripts/restore | 4 ++-- scripts/upgrade | 2 +- 7 files changed, 8 insertions(+), 13 deletions(-) delete mode 100644 scripts/_common.sh diff --git a/scripts/_common.sh b/scripts/_common.sh deleted file mode 100644 index 3d7f008..0000000 --- a/scripts/_common.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -#================================================= -# COMMON VARIABLES AND CUSTOM HELPERS -#================================================= diff --git a/scripts/backup b/scripts/backup index 3c5380e..73de6f5 100755 --- a/scripts/backup +++ b/scripts/backup @@ -4,8 +4,8 @@ # IMPORT GENERIC HELPERS #================================================= -# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts -source ../settings/scripts/_common.sh + + source /usr/share/yunohost/helpers ynh_print_info "Declaring files to be backed up..." diff --git a/scripts/change_url b/scripts/change_url index 18aa6c9..173bf79 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -4,7 +4,7 @@ # IMPORT GENERIC HELPERS #================================================= -source _common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/install b/scripts/install index 63a30ed..719b071 100755 --- a/scripts/install +++ b/scripts/install @@ -4,7 +4,7 @@ # IMPORT GENERIC HELPERS #================================================= -source _common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/remove b/scripts/remove index 57eefca..cecaaed 100755 --- a/scripts/remove +++ b/scripts/remove @@ -4,7 +4,7 @@ # IMPORT GENERIC HELPERS #================================================= -source _common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/restore b/scripts/restore index 8d37f59..be17130 100755 --- a/scripts/restore +++ b/scripts/restore @@ -4,8 +4,8 @@ # IMPORT GENERIC HELPERS #================================================= -# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts -source ../settings/scripts/_common.sh + + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 7f9821b..3d8208c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -4,7 +4,7 @@ # IMPORT GENERIC HELPERS #================================================= -source _common.sh + source /usr/share/yunohost/helpers #=================================================