mirror of
https://github.com/YunoHost-Apps/prestashop_ynh.git
synced 2024-09-03 20:06:39 +02:00
Update _common
This commit is contained in:
parent
b2646aaf4c
commit
30846901f3
1 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
||||||
ABANTECART_SOURCE_URL="https://github.com/abantecart/abantecart-src/archive/master.zip"
|
PRESTASHOP_SOURCE_URL="https://download.prestashop.com/download/releases/prestashop_1.7.0.5.zip"
|
||||||
|
|
||||||
extract_source() {
|
extract_source() {
|
||||||
local DESTDIR=$1
|
local DESTDIR=$1
|
||||||
|
|
||||||
# retrieve and extract Abantecart Zip File
|
# retrieve and extract Prestashop Zip File
|
||||||
rc_tarball="${DESTDIR}/abantecart.zip"
|
rc_tarball="${DESTDIR}/prestashop.zip"
|
||||||
sudo wget -q -O "$rc_tarball" "$ABANTECART_SOURCE_URL" \
|
sudo wget -q -O "$rc_tarball" "$PRESTASHOP_SOURCE_URL" \
|
||||||
|| ynh_die "Unable to download source tarball"
|
|| ynh_die "Unable to download source tarball"
|
||||||
sudo unzip "$rc_tarball" "$DESTDIR" \
|
sudo unzip "$rc_tarball" "$DESTDIR" \
|
||||||
|| ynh_die "Unable to extract source tarball"
|
|| ynh_die "Unable to extract source tarball"
|
||||||
|
|
Loading…
Add table
Reference in a new issue