1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searxng_ynh.git synced 2024-09-03 20:26:00 +02:00

Refractor

This commit is contained in:
Sylvain 2024-07-21 10:36:09 +02:00
parent e6e1fd3dd7
commit b95e32f56e

View file

@ -15,9 +15,9 @@ myynh_source_searxng () {
commit_sha=$(ynh_read_manifest --manifest_key="resources.sources.main.url" | xargs basename --suffix=".tar.gz") commit_sha=$(ynh_read_manifest --manifest_key="resources.sources.main.url" | xargs basename --suffix=".tar.gz")
# Download source # Download source
ynh_exec_as $app ynh_exec_fully_quiet git clone -n "$repo_fullpath" "$install_dir/searxng-src" ynh_exec_fully_quiet git clone -n "$repo_fullpath" "$install_dir/searxng-src"
pushd "$install_dir/searxng-src" pushd "$install_dir/searxng-src"
ynh_exec_as $app ynh_exec_fully_quiet git checkout "$commit_sha" ynh_exec_fully_quiet git checkout "$commit_sha"
popd popd
} }