ynh_die does not exists before helpers sourcing
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
ynh_die "backup script is not implemented"
|
||||
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
@@ -17,6 +13,8 @@ fi
|
||||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
ynh_die "backup script is not implemented yet"
|
||||
|
||||
#=================================================
|
||||
# MANAGE SCRIPT FAILURE
|
||||
#=================================================
|
||||
|
@@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
ynh_die "restore script is not implemented"
|
||||
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
@@ -14,6 +12,8 @@ fi
|
||||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
ynh_die "restore script is not implemented yet"
|
||||
|
||||
#=================================================
|
||||
# MANAGE SCRIPT FAILURE
|
||||
#=================================================
|
||||
|
Reference in New Issue
Block a user