Fix --branch=

This commit is contained in:
Maniack Crudelis 2017-05-23 19:26:47 +02:00
parent f9d29e67d5
commit 4174bfe08a
2 changed files with 5 additions and 5 deletions

View file

@ -80,7 +80,7 @@ else
case $parameter in
b)
# --branch=branch-name
gitbranch="$OPTARG"
gitbranch="-b $OPTARG"
;;
f)
# --force-install-ok

View file

@ -1020,12 +1020,12 @@ CHECK_BACKUP_RESTORE () {
then
# Uses the default snapshot
current_snapshot=snap0
# Place the copy of the backup archive in the container.
sudo mv -f ./archives /var/lib/lxcsnaps/$lxc_name/$current_snapshot/rootfs/home/yunohost.backup/
# Stop and restore the LXC container
LXC_STOP
# Place the copy of the backup archive in the container.
sudo mv -f ./archives /var/lib/lxc/$lxc_name/rootfs/home/yunohost.backup/
ECHO_FORMAT "\nRestore on a clean YunoHost system...\n" "white" "bold" clog
fi