mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fixing previous commits following tests
This commit is contained in:
parent
9f26e6c8e0
commit
defa639640
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
|||
#=================================================
|
||||
|
||||
LXC_CREATE () {
|
||||
lxc image list $LXC_BASE | grep -q -w $LXC_BASE || log_critical "The base image $LXC_BASE doesn't exist yet. Consider using the build_base_lxc.sh to create it first"
|
||||
lxc launch yunohost:$LXC_BASE $LXC_NAME || clean_exit 1
|
||||
lxc config set "$LXC_NAME" security.nesting true
|
||||
_LXC_START_AND_WAIT $LXC_NAME
|
||||
|
|
|
@ -193,7 +193,7 @@ echo "start:$(date +%s):$$" > "$lock_file"
|
|||
assert_we_are_connected_to_the_internets
|
||||
assert_we_have_all_dependencies
|
||||
|
||||
if [[ $rebuild == 0 ]]
|
||||
if [[ $rebuild == 1 ]]
|
||||
then
|
||||
rebuild_base_lxc 2>&1 | tee -a "./build_base_lxc.log"
|
||||
clean_exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue