ynh_die does not exists before helpers sourcing

This commit is contained in:
Alexandre Aubin 2018-12-02 23:49:24 +01:00
parent 2f04d16d4f
commit bbc821a632
2 changed files with 4 additions and 6 deletions

View File

@ -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
#=================================================

View File

@ -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
#=================================================