mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
sudo
This commit is contained in:
parent
4955359b2c
commit
92b7b2d8a9
1 changed files with 2 additions and 2 deletions
|
@ -22,9 +22,9 @@ extract_monica() {
|
|||
|
||||
# retrieve and extract monica tarball
|
||||
rc_tarball="${DESTDIR}/monica.tar.gz"
|
||||
wget -q -O "$rc_tarball" "$MONICA_SOURCE_URL" \
|
||||
sudo wget -q -O "$rc_tarball" "$MONICA_SOURCE_URL" \
|
||||
|| ynh_die "Unable to download monica tarball"
|
||||
tar xf "$rc_tarball" -C "$DESTDIR" --strip-components 1 \
|
||||
sudo tar xf "$rc_tarball" -C "$DESTDIR" --strip-components 1 \
|
||||
|| ynh_die "Unable to extract monica tarball"
|
||||
sudo rm "$rc_tarball"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue