mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Don't remove the app when install fails
This commit is contained in:
parent
06107167bf
commit
22dacd70fd
1 changed files with 2 additions and 2 deletions
|
@ -127,8 +127,8 @@ _INSTALL_APP () {
|
||||||
done
|
done
|
||||||
|
|
||||||
# Install the application in a LXC container
|
# Install the application in a LXC container
|
||||||
log_info "Running: yunohost app install --force /app_folder -a \"$install_args\""
|
log_info "Running: yunohost app install --no-remove-on-failure --force /app_folder -a \"$install_args\""
|
||||||
_RUN_YUNOHOST_CMD "app install --force /app_folder -a \"$install_args\""
|
_RUN_YUNOHOST_CMD "app install --no-remove-on-failure --force /app_folder -a \"$install_args\""
|
||||||
|
|
||||||
local ret=$?
|
local ret=$?
|
||||||
[ $ret -eq 0 ] && log_debug "Installation successful." || log_error "Installation failed."
|
[ $ret -eq 0 ] && log_debug "Installation successful." || log_error "Installation failed."
|
||||||
|
|
Loading…
Add table
Reference in a new issue