Bläddra i källkod

linter correction, ynh6

Chris Vogel 1 år sedan
förälder
incheckning
6c6e6be731
4 ändrade filer med 3 tillägg och 2 borttagningar
  1. 1 1
      manifest.toml
  2. 0 1
      scripts/_common.sh
  3. 1 0
      scripts/install
  4. 1 0
      scripts/restore

+ 1 - 1
manifest.toml

@@ -7,7 +7,7 @@ name = "flohmarkt"
 description.en = "A decentral federated small ads platform"
 description.fr = "Plateforme de petites annonces fédérées décentralisées"
 
-version = "0.0~ynh5"
+version = "0.0~ynh6"
 
 maintainers = ["Chris Vogel"]
 

+ 0 - 1
scripts/_common.sh

@@ -546,7 +546,6 @@ flohmarkt_print_debug() {
 
 # create symlinks containing domain and path for install, data and log directories
 flohmarkt_ynh_create_symlinks() {
-  ynh_script_progression --message="Creating symlinks..." --weight=1
   ln -s "$flohmarkt_install" "$flohmarkt_sym_install"
   ln -s "$flohmarkt_data_dir" "$flohmarkt_sym_data_dir"
   ln -s "$flohmarkt_log_dir" "$flohmarkt_sym_log_dir"

+ 1 - 0
scripts/install

@@ -112,6 +112,7 @@ ynh_add_fail2ban_config --logpath="$flohmarkt_logfile" --failregex='INFO: +<HOST
 
 # symlink data_dir and install_dir to make it easier to find the
 # files for a certain domain/path
+ynh_script_progression --message="Creating symlinks..." --weight=1
 flohmarkt_ynh_create_symlinks
 
 # start service

+ 1 - 0
scripts/restore

@@ -85,6 +85,7 @@ ynh_script_progression --message="Reloading NGINX web server..." --weight=1
 ynh_systemd_action --service_name=nginx --action=reload
 
 # create symlinks
+ynh_script_progression --message="Creating symlinks..." --weight=1
 flohmarkt_ynh_create_symlinks
 
 ynh_script_progression --message="Restoration completed for $app" --last