mirror of
https://github.com/YunoHost-Apps/watchdog_ynh.git
synced 2024-06-22 05:42:53 +02:00
Fix install in CI
This commit is contained in:
parent
e0a9acf4a4
commit
8dfb567892
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
ynh_script_progression --message="Checking the hardware watchdog device presence..."
|
||||
|
||||
if [ ! -f /dev/watchdog ]; then
|
||||
# Don't issue this error in CI
|
||||
if [ "${PACKAGE_CHECK_EXEC:-0}" -eq 0 ] && [ ! -f /dev/watchdog ]; then
|
||||
ynh_die --message="Your server doesn't seem to have a '/dev/watchdog' device, this certainly means that it has no hardware watchdog device. However, this package is only relevant if such a device exists, we're sorry."
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue