From 4fda30c769bb238f8fdc2fb577ce2f97d0cd0249 Mon Sep 17 00:00:00 2001 From: Moul Date: Wed, 15 Jun 2016 21:35:36 +0000 Subject: [PATCH] [enh] scripts: use sources to be more explicit. --- scripts/backup | 2 +- scripts/install | 2 +- scripts/remove | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/backup b/scripts/backup index 4e5987f..f944306 100755 --- a/scripts/backup +++ b/scripts/backup @@ -7,7 +7,7 @@ set -eu app=$YNH_APP_INSTANCE_NAME # Source YunoHost helpers -. /usr/share/yunohost/helpers +source /usr/share/yunohost/helpers # Backup sources & data # Note: the last argument is where to save this path, see the restore script. diff --git a/scripts/install b/scripts/install index 70672bf..15e656d 100755 --- a/scripts/install +++ b/scripts/install @@ -11,7 +11,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC version="0.1.18" # Source YunoHost helpers -. /usr/share/yunohost/helpers +source /usr/share/yunohost/helpers # Save app settings ynh_app_setting_set "$app" is_public "$is_public" diff --git a/scripts/remove b/scripts/remove index 9d68d44..1408650 100755 --- a/scripts/remove +++ b/scripts/remove @@ -1,7 +1,7 @@ #!/bin/bash # Source YunoHost helpers -. /usr/share/yunohost/helpers +source /usr/share/yunohost/helpers # Retrieve app settings app=$YNH_APP_INSTANCE_NAME diff --git a/scripts/restore b/scripts/restore index bc795b8..fd542ee 100755 --- a/scripts/restore +++ b/scripts/restore @@ -10,7 +10,7 @@ set -eu app=$YNH_APP_INSTANCE_NAME # Source YunoHost helpers -. /usr/share/yunohost/helpers +source /usr/share/yunohost/helpers # Retrieve old app settings domain=$(ynh_app_setting_get "$app" domain) diff --git a/scripts/upgrade b/scripts/upgrade index 6bfc862..b0db881 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -4,7 +4,7 @@ set -eu # Source YunoHost helpers -. /usr/share/yunohost/helpers +source /usr/share/yunohost/helpers # Retrieve app settings app=$YNH_APP_INSTANCE_NAME