From f8f72e879f3ad060ef56b254d90d0c8f8f008142 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 9 Jan 2023 20:12:17 +0100 Subject: [PATCH] #8 --- scripts/install | 2 +- scripts/upgrade | 2 +- {conf => sources}/ifm.php | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {conf => sources}/ifm.php (100%) diff --git a/scripts/install b/scripts/install index 346c249..3ffe5b6 100755 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ ynh_script_progression --message="Setting up source files..." --weight=3 ynh_app_setting_set --app=$app --key=final_path --value=$final_path mkdir -p $final_path -mv "../conf/ifm.php" "$final_path/ifm.php" +mv "../sources/ifm.php" "$final_path/ifm.php" chmod 750 "$final_path" chmod -R o-rwx "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 96dc505..347608f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,7 +67,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=2 - mv -f "../conf/ifm.php" "$final_path/ifm.php" + mv -f "../sources/ifm.php" "$final_path/ifm.php" fi chmod 750 "$final_path" diff --git a/conf/ifm.php b/sources/ifm.php similarity index 100% rename from conf/ifm.php rename to sources/ifm.php