mirror of
https://github.com/YunoHost-Apps/libreerp_ynh.git
synced 2024-09-03 19:36:13 +02:00
[fix] Can't untar wkhtmltopdf
This commit is contained in:
parent
7d629eaa54
commit
fde40cfdc5
1 changed files with 2 additions and 2 deletions
|
@ -73,13 +73,13 @@ extract_sources() {
|
|||
local AS_USER=${2:-admin}
|
||||
|
||||
# retrieve and extract Roundcube tarball
|
||||
tarball="/tmp/${APPNAME}.tar.gz"
|
||||
tarball="/tmp/${APPNAME}.tar.xz"
|
||||
rm -f "$tarball"
|
||||
wget -q -O "$tarball" "$SOURCE_URL" \
|
||||
|| ynh_die "Unable to download tarball"
|
||||
echo "$SOURCE_SHA256 $tarball" | sha256sum -c >/dev/null \
|
||||
|| ynh_die "Invalid checksum of downloaded tarball"
|
||||
exec_as "$AS_USER" tar xzf "$tarball" -C "$DESTDIR" --strip-components 1 \
|
||||
exec_as "$AS_USER" tar xJf "$tarball" -C "$DESTDIR" --strip-components 1 \
|
||||
|| ynh_die "Unable to extract tarball"
|
||||
rm -f "$tarball"
|
||||
|
||||
|
|
Loading…
Reference in a new issue