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

try fix install

This commit is contained in:
rodinux 2023-12-25 06:19:52 +01:00
parent 8eb4565bda
commit 60a8416ebf

View file

@ -46,16 +46,15 @@ chmod 644 "/etc/cron.d/$app"
ynh_script_progression --message="Adding a configuration file..." --weight=5 ynh_script_progression --message="Adding a configuration file..." --weight=5
# Install configuration files # Install configuration files
ynh_add_config --template="config.local.user.php" --destination="$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"
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"
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"
ynh_add_config --template="config.local.user.php" --destination="$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"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT