1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/abantecart_ynh.git synced 2024-09-03 18:06:16 +02:00

Update _common

This commit is contained in:
frju365 2017-01-29 12:18:33 +01:00 committed by GitHub
parent f6026ce5a9
commit bfdf30739f

View file

@ -7,7 +7,7 @@ extract_source() {
rc_tarball="${DESTDIR}/abantecart.zip"
sudo wget -q -O "$rc_tarball" "$ABANTECART_SOURCE_URL" \
|| ynh_die "Unable to download source tarball"
sudo unzip "$rc_tarball" -c "$DESTDIR" --strip-components 1 \
sudo unzip "$rc_tarball" "$DESTDIR" \
|| ynh_die "Unable to extract source tarball"
sudo rm "$rc_tarball"
}