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

Remove useless sudo

The script is run as root
This commit is contained in:
lapineige 2019-05-22 09:59:45 +02:00 committed by GitHub
parent ef69fb503c
commit 65d81c6345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,8 +86,8 @@ ynh_secure_remove "$final_path"
ynh_print_info "Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
sudo cp -a "$tmpdir/data" "${final_path}/"
sudo rm -Rf "$tmpdir"
cp -a "$tmpdir/data" "${final_path}/"
rm -Rf "$tmpdir"
#=================================================
# NGINX CONFIGURATION