From 2334425ea5110d40d944bb1f887a2cd8ffbc62b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 31 May 2023 20:45:39 +0200 Subject: [PATCH] fix rights --- manifest.toml | 4 ++-- scripts/install | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 32bea01..ff7571d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "LibreX" description.en = "Meta search engine for Google and popular torrent sites" description.fr = "Méta moteur de recherche pour Google et les sites torrent populaires" -version = "2023.05.31~ynh2" +version = "2023.05.31~ynh3" maintainers = ["eric_G"] @@ -49,4 +49,4 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "php7.4-dom php7.4-curl" + packages = "php8.2-dom php8.2-curl" diff --git a/scripts/install b/scripts/install index d5ab4b6..57fdba6 100755 --- a/scripts/install +++ b/scripts/install @@ -49,7 +49,7 @@ ynh_add_config --template="../conf/opensearch.xml.example" --destination="$insta chmod 400 "$install_dir/config.php" chown $app:$app "$install_dir/config.php" -chmod 400 "$install_dir/opensearch.xml" +chmod 650 "$install_dir/opensearch.xml" chown $app:$app "$install_dir/opensearch.xml" #=================================================