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
7367ddaf25
commit
9d464579ae
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue