From 929b5501f593ab95866cde51d1c69c204830a778 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Wed, 8 Mar 2017 13:20:36 +0100 Subject: [PATCH] Replace by --- scripts/backup | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index 10a9c9c..f0c4772 100755 --- a/scripts/backup +++ b/scripts/backup @@ -7,7 +7,7 @@ set -eu backup_dir=$1 # The parameter $2 is theid of the app instance -app=$2 +app=$YNH_APP_INSTANCE_NAME # Source app helpers source /usr/share/yunohost/helpers diff --git a/scripts/restore b/scripts/restore index 0a4287d..5c83796 100755 --- a/scripts/restore +++ b/scripts/restore @@ -8,7 +8,7 @@ set -eu backup_dir=$1 # The parameter $2 is the id of the app instance ex: ynhexample__2 -app=$2 +app=$YNH_APP_INSTANCE_NAME # Source app helpers source /usr/share/yunohost/helpers