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
186cb28e9e
commit
c84a610798
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ myynh_source_searxng () {
|
|||
|
||||
# Download source
|
||||
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
|
||||
pushd "$install_dir/searxng-src"
|
||||
git checkout "$commit_sha" 2>&1
|
||||
|
|
Loading…
Reference in a new issue