Fix install on ynh 4.1

This commit is contained in:
Josué Tille 2021-01-08 21:49:47 +01:00
parent 637a32aa57
commit 6786d9f65e
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -8,11 +8,10 @@ i386sum="8a0b9e08d9c80790752b435c3e148328"
armsum="15ca4b69585a990e00474e4cfc4be9eb"
init_script() {
# Exit on command errors and treat unset variables as an error
set -eu
# Source YunoHost helpers
source /usr/share/yunohost/helpers
# Exit on command errors and treat unset variables as an error
ynh_abort_if_errors
# Retrieve arguments
app=$YNH_APP_INSTANCE_NAME