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 7918720..0dbb264 100755 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,6 @@ #!/bin/bash -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 39d37fc..e501f04 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/install b/scripts/install index 8949fb9..69b9c28 100755 --- a/scripts/install +++ b/scripts/install @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/remove b/scripts/remove index 2528648..9a5abdb 100755 --- a/scripts/remove +++ b/scripts/remove @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/restore b/scripts/restore index 2e541d7..adbddbb 100755 --- a/scripts/restore +++ b/scripts/restore @@ -1,6 +1,6 @@ #!/bin/bash -source ../settings/scripts/_common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index bd26f8a..3850311 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #=================================================