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-22 09:06:54 +02:00
parent 186cb28e9e
commit c84a610798

View file

@ -16,7 +16,10 @@ myynh_source_searxng () {
# Download source # Download source
sudo -i -u $app bash << EOF sudo -i -u $app bash << EOF
mkdir "$install_dir/searxng-src" if [ ! -d "$install_dir/searxng-src" ]
then
mkdir "$install_dir/searxng-src"
endif
git clone -n "$repo_fullpath" "$install_dir/searxng-src" 2>&1 git clone -n "$repo_fullpath" "$install_dir/searxng-src" 2>&1
pushd "$install_dir/searxng-src" pushd "$install_dir/searxng-src"
git checkout "$commit_sha" 2>&1 git checkout "$commit_sha" 2>&1