Просмотр исходного кода

remove some more linter warnings

Chris Vogel 1 год назад
Родитель
Сommit
e9f1a5f245
4 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      scripts/install
  2. 1 1
      scripts/remove
  3. 1 1
      scripts/restore
  4. 1 1
      scripts/upgrade

+ 1 - 1
scripts/install

@@ -1,8 +1,8 @@
 #!/bin/bash
 
 # IMPORT GENERIC HELPERS
-source /usr/share/yunohost/helpers
 source _common.sh
+source /usr/share/yunohost/helpers
 
 # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/9
 # check if couchdb is already installed

+ 1 - 1
scripts/remove

@@ -6,8 +6,8 @@
 # IMPORT GENERIC HELPERS
 #=================================================
 
-source /usr/share/yunohost/helpers
 source _common.sh
+source /usr/share/yunohost/helpers
 
 #=================================================
 # STANDARD REMOVE

+ 1 - 1
scripts/restore

@@ -1,7 +1,7 @@
 #!/bin/bash
 
-source /usr/share/yunohost/helpers
 source ../settings/scripts/_common.sh
+source /usr/share/yunohost/helpers
 
 # reinstall couchdb
 ynh_script_progression --message="Reinstalling couchdb..." --weight=40

+ 1 - 1
scripts/upgrade

@@ -1,7 +1,7 @@
 #!/bin/bash
 
-source /usr/share/yunohost/helpers
 source _common.sh
+source /usr/share/yunohost/helpers
 
 # UPGRADE_PACKAGE if only the YunoHost package has changed
 # UPGRADE_APP if the upstream app version has changed