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:
parent
ef69fb503c
commit
65d81c6345
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ ynh_secure_remove "$final_path"
|
||||||
ynh_print_info "Upgrading source files..."
|
ynh_print_info "Upgrading source files..."
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path"
|
ynh_setup_source "$final_path"
|
||||||
sudo cp -a "$tmpdir/data" "${final_path}/"
|
cp -a "$tmpdir/data" "${final_path}/"
|
||||||
sudo rm -Rf "$tmpdir"
|
rm -Rf "$tmpdir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue