1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/monica_ynh.git synced 2024-09-03 19:46:23 +02:00
This commit is contained in:
Sebastian Gumprich 2017-06-14 22:24:53 +02:00
parent 4955359b2c
commit 92b7b2d8a9

View file

@ -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"
}