From b3c5d95368745762457174c5a975116c01517aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 14 Mar 2023 16:41:25 +0100 Subject: [PATCH] fix --- manifest.toml | 2 +- scripts/install | 3 +-- scripts/restore | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5273e1d..eac943e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Yourls" description.en = "URL shortening service" description.fr = "Service de raccourcisseur d'URL" -version = "1.9.2~ynh1" +version = "1.9.2~ynh2" maintainers = ["Anmol Sharma"] diff --git a/scripts/install b/scripts/install index 7719778..129dbe9 100644 --- a/scripts/install +++ b/scripts/install @@ -70,9 +70,8 @@ chown $app:$app "$install_dir/user/config.php" #================================================= # SETUP APPLICATION WITH CURL #================================================= - -# Installation with curl ynh_script_progression --message="Finalizing installation..." --weight=1 + ynh_local_curl "admin/install.php" "install=dummy" #================================================= diff --git a/scripts/restore b/scripts/restore index 1569b7d..95c06fa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -25,7 +25,6 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"