1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

install/upgrade script correction

This commit is contained in:
Chris Vogel 2024-04-20 20:02:52 +02:00
parent 42c5d26fa8
commit 41a989bb7b
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ ynh_install_extra_app_dependencies \
# add couchdb configuration
ynh_script_progression --message="Adding a configuration file..." --weight=2
# 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
chmod 750 "$install_dir"

View file

@ -52,7 +52,7 @@ fi
#=================================================
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 -R o-rwx "$install_dir"