1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00

[enh] make backup and restore scripts multiinstance too

This commit is contained in:
Julien Malik 2016-03-18 18:05:41 +01:00
parent f506747fac
commit e63364f393
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# causes the shell to exit if any subcommand or pipeline returns a non-zero status
set -e
app=ynhexample
app=$YNH_APP_INSTANCE_NAME
# The parameter $1 is the backup directory location
# which will be compressed afterward

View file

@ -3,7 +3,7 @@
# causes the shell to exit if any subcommand or pipeline returns a non-zero status
set -e
app=ynhexample
app=$YNH_APP_INSTANCE_NAME
# The parameter $1 is the uncompressed restore directory location
backup_dir=$1/apps/$app