Parcourir la source

[fix] upgrade script needs sourcing _common.sh and helpers.

pitchum il y a 6 ans
Parent
commit
e86d83049e
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. 10 0
      scripts/upgrade

+ 10 - 0
scripts/upgrade

@@ -1,5 +1,15 @@
 #!/bin/bash
 
+#=================================================
+# GENERIC START
+#=================================================
+# IMPORT GENERIC HELPERS
+#=================================================
+
+source /usr/share/yunohost/helpers
+source _common.sh
+
+
 ynh_setting() {
   app=${1}
   setting=${2}