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:
parent
cf1838487c
commit
81facf963e
2 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue