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

install/upgrade script correction

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

+ 1 - 1
scripts/install

@@ -49,7 +49,7 @@ ynh_install_extra_app_dependencies \
 # add couchdb configuration
 # add couchdb configuration
 ynh_script_progression --message="Adding a configuration file..." --weight=2
 ynh_script_progression --message="Adding a configuration file..." --weight=2
 # customize couchdb config
 # customize couchdb config
-ynh_add_config --template="../conf/couch_ynh.ini" --destination="/opt/couchdb/etc/local.d/5-flohmarkt.ini"
+ynh_add_config --template="../conf/5-flohmarkt.ini" --destination="/opt/couchdb/etc/local.d/5-flohmarkt.ini"
 
 
 # @@ todo need to create a couchdb user and set the files to be readable/executable by it
 # @@ todo need to create a couchdb user and set the files to be readable/executable by it
 chmod 750 "$install_dir"
 chmod 750 "$install_dir"

+ 1 - 1
scripts/upgrade

@@ -52,7 +52,7 @@ fi
 #=================================================
 #=================================================
 ynh_script_progression --message="Updating a configuration file..." --weight=1
 ynh_script_progression --message="Updating a configuration file..." --weight=1
 
 
-ynh_add_config --template="../conf/couch_ynh.ini" --destination="$install_dir/etc/local.d/couch_ynh.ini"
+ynh_add_config --template="../conf/5-flohmarkt.ini" --destination="$install_dir/etc/local.d/5-flohmarkt.ini"
 
 
 chmod 750 "$install_dir"
 chmod 750 "$install_dir"
 chmod -R o-rwx "$install_dir"
 chmod -R o-rwx "$install_dir"