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