From 9d464579ae6b16ec2a5f85827bfac3376794ef63 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Mon, 22 Jul 2024 09:43:32 +0200 Subject: [PATCH] Refractor --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 107bb6d..4630764 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,7 +15,7 @@ myynh_source_searxng () { commit_sha=$(ynh_read_manifest --manifest_key="resources.sources.main.url" | xargs basename --suffix=".tar.gz") # Download source - sudo -H -u $app -i bash << EOF + sudo -H -u $app -i << EOF if [ ! -d "$install_dir/searxng-src" ] then mkdir "$install_dir/searxng-src" @@ -25,7 +25,7 @@ EOF # Checkout commit pushd "$install_dir/searxng-src" - sudo -H -u $app -i bash << EOF + sudo -H -u $app -i << EOF cd "$install_dir/searxng-src" git checkout "$commit_sha" 2>&1 EOF