1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cesium_ynh.git synced 2024-09-03 18:06:25 +02:00

[enh] scripts: use sources to be more explicit.

This commit is contained in:
Moul 2016-06-15 21:35:36 +00:00
parent 313697ad9b
commit 4fda30c769
5 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@ set -eu
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
# Source YunoHost helpers # Source YunoHost helpers
. /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
# Backup sources & data # Backup sources & data
# Note: the last argument is where to save this path, see the restore script. # Note: the last argument is where to save this path, see the restore script.

View file

@ -11,7 +11,7 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
version="0.1.18" version="0.1.18"
# Source YunoHost helpers # Source YunoHost helpers
. /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
# Save app settings # Save app settings
ynh_app_setting_set "$app" is_public "$is_public" ynh_app_setting_set "$app" is_public "$is_public"

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Source YunoHost helpers # Source YunoHost helpers
. /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
# Retrieve app settings # Retrieve app settings
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME

View file

@ -10,7 +10,7 @@ set -eu
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
# Source YunoHost helpers # Source YunoHost helpers
. /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
# Retrieve old app settings # Retrieve old app settings
domain=$(ynh_app_setting_get "$app" domain) domain=$(ynh_app_setting_get "$app" domain)

View file

@ -4,7 +4,7 @@
set -eu set -eu
# Source YunoHost helpers # Source YunoHost helpers
. /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
# Retrieve app settings # Retrieve app settings
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME