mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix --branch=
This commit is contained in:
parent
f9d29e67d5
commit
4174bfe08a
2 changed files with 5 additions and 5 deletions
|
@ -80,7 +80,7 @@ else
|
||||||
case $parameter in
|
case $parameter in
|
||||||
b)
|
b)
|
||||||
# --branch=branch-name
|
# --branch=branch-name
|
||||||
gitbranch="$OPTARG"
|
gitbranch="-b $OPTARG"
|
||||||
;;
|
;;
|
||||||
f)
|
f)
|
||||||
# --force-install-ok
|
# --force-install-ok
|
||||||
|
|
|
@ -1020,12 +1020,12 @@ CHECK_BACKUP_RESTORE () {
|
||||||
then
|
then
|
||||||
# Uses the default snapshot
|
# Uses the default snapshot
|
||||||
current_snapshot=snap0
|
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
|
# Stop and restore the LXC container
|
||||||
LXC_STOP
|
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
|
ECHO_FORMAT "\nRestore on a clean YunoHost system...\n" "white" "bold" clog
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue