mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix app_id error
This commit is contained in:
parent
39f2e6f551
commit
a34d8db619
1 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,10 @@ use_temp_snapshot () {
|
||||||
sudo rsync --acls --archive --delete --executability --itemize-changes --xattrs "$snapshot_path/$current_snapshot/rootfs/" "/var/lib/lxc/$lxc_name/rootfs/" > /dev/null 2>> "$test_result"
|
sudo rsync --acls --archive --delete --executability --itemize-changes --xattrs "$snapshot_path/$current_snapshot/rootfs/" "/var/lib/lxc/$lxc_name/rootfs/" > /dev/null 2>> "$test_result"
|
||||||
|
|
||||||
stop_timer 1
|
stop_timer 1
|
||||||
|
|
||||||
|
# Retrieve the app id in the log. To manage the app after
|
||||||
|
ynh_app_id=$(sudo tac "$yunohost_log" | grep --only-matching --max-count=1 "YNH_APP_INSTANCE_NAME=[^ ]*" | cut --delimiter='=' --fields=2)
|
||||||
|
|
||||||
# Fake the yunohost_result return code of the installation
|
# Fake the yunohost_result return code of the installation
|
||||||
yunohost_result=0
|
yunohost_result=0
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue