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:
parent
c84a610798
commit
29feb46967
1 changed files with 8 additions and 3 deletions
|
@ -21,10 +21,15 @@ then
|
|||
mkdir "$install_dir/searxng-src"
|
||||
endif
|
||||
git clone -n "$repo_fullpath" "$install_dir/searxng-src" 2>&1
|
||||
pushd "$install_dir/searxng-src"
|
||||
git checkout "$commit_sha" 2>&1
|
||||
popd
|
||||
EOF
|
||||
|
||||
# Checkout commit
|
||||
pushd "$install_dir/searxng-src"
|
||||
sudo -i -u $app bash << EOF
|
||||
cd "$install_dir/searxng-src"
|
||||
git checkout "$commit_sha" 2>&1
|
||||
EOF
|
||||
popd
|
||||
}
|
||||
|
||||
myynh_install_searxng () {
|
||||
|
|
Loading…
Reference in a new issue