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

Cleaning - not used anymore

This commit is contained in:
polytan02 2017-03-04 11:02:50 +00:00 committed by GitHub
parent 01e405c770
commit cdc3dc8554

View file

@ -1,13 +0,0 @@
ABANTECART_SOURCE_URL="https://github.com/abantecart/abantecart-src/archive/master.zip"
extract_source() {
local DESTDIR=$1
# retrieve and extract Abantecart Zip File
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" "$DESTDIR" \
|| ynh_die "Unable to extract source tarball"
sudo rm "$rc_tarball"
}