diff --git a/scripts/install b/scripts/install index 0259ba9..5ac3a5d 100755 --- a/scripts/install +++ b/scripts/install @@ -40,11 +40,11 @@ ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name #================================================= ynh_script_progression --message="Configuring $app..." --weight=3 -ynh_add_config --template="../conf/telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" +ynh_add_config --template="telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" chmod 650 "$install_dir/results/telemetry_settings.php" chown $app:www-data "$install_dir/results/telemetry_settings.php" -ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html" +ynh_add_config --template="example-singleServer-full.html" --destination="$install_dir/index.html" chmod 650 "$install_dir/index.html" chown $app:www-data "$install_dir/index.html" diff --git a/scripts/upgrade b/scripts/upgrade index 2e79b38..b18a0b8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,11 +51,11 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Reconfiguring LibreSpeed..." - ynh_add_config --template="../conf/telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" + ynh_add_config --template="telemetry_settings.php" --destination="$install_dir/results/telemetry_settings.php" chmod 650 "$install_dir/results/telemetry_settings.php" chown $app:www-data "$install_dir/results/telemetry_settings.php" - ynh_add_config --template="../conf/example-singleServer-full.html" --destination="$install_dir/index.html" + ynh_add_config --template="example-singleServer-full.html" --destination="$install_dir/index.html" chmod 650 "$install_dir/index.html" chown $app:www-data "$install_dir/index.html" fi