Browse Source

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

pitchum 6 years ago
parent
commit
e86d83049e
1 changed files with 10 additions and 0 deletions
  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}