1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lemmy_ynh.git synced 2024-09-03 19:36:09 +02:00

Fix ImageMagick download

This commit is contained in:
tituspijean 2023-07-30 13:05:25 +02:00
parent cf1838487c
commit 81facf963e
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 4 additions and 2 deletions

View file

@ -91,7 +91,8 @@ chown -R $app:$app "$install_dir"
# (Dirty) Install ImageMagick
# Requires 'libfuse2' and 'libimage-exiftool-perl' apt dependencies
wget https://imagemagick.org/archive/binaries/magick -o "$install_dir/pict-rs/magick" -q
wget -f https://imagemagick.org/archive/binaries/magick -O "$install_dir/pict-rs/magick" -q
[ ! -f "$install_dir/pict-rs/magick" ] && ynh_print_err --message="ImageMagick could not be downloaded"
chmod 750 "$install_dir/pict-rs/magick"
chown $app:$app "$install_dir/pict-rs/magick"

View file

@ -130,7 +130,8 @@ then
# (Dirty) Install ImageMagick
# Requires 'libfuse2' and 'libimage-exiftool-perl' apt dependencies
wget https://imagemagick.org/archive/binaries/magick -o "$install_dir/pict-rs/magick" -q
wget -f https://imagemagick.org/archive/binaries/magick -O "$install_dir/pict-rs/magick" -q
[ ! -f "$install_dir/pict-rs/magick" ] && ynh_print_err --message="ImageMagick could not be downloaded"
chmod 750 "$install_dir/pict-rs/magick"
chown $app:$app "$install_dir/pict-rs/magick"