1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

Update install

try just keep the config.local.php
This commit is contained in:
Robles Rodolphe 2023-12-17 21:54:12 +01:00 committed by GitHub
parent b9b8b570b1
commit 2090b7532f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,12 +47,12 @@ ynh_script_progression --message="Adding a configuration file..." --weight=5
# Install configuration files # Install configuration files
ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php" ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php"
ynh_add_config --template="config.local.user.php" --destination="$install_dir/data/config.local.user.php" #ynh_add_config --template="config.local.user.php" --destination="$install_dir/data/config.local.user.php"
chmod 650 "$install_dir/config.local.php" chmod 650 "$install_dir/config.local.php"
chown $app:$app "$install_dir/config.local.php" chown $app:$app "$install_dir/config.local.php"
chmod 650 "$data_dir/data/config.local.user.php" #chmod 650 "$data_dir/data/config.local.user.php"
chown $app:$app "$data_dir/data/config.local.user.php" #chown $app:$app "$data_dir/data/config.local.user.php"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT