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
7ffd19d938
commit
ad04f175bb
3 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ ram.runtime = "50M"
|
|||
[resources.install_dir]
|
||||
|
||||
[resources.data_dir]
|
||||
subdirs = ["pictrs-data", "sled", "exports"]
|
||||
subdirs = ["pictrs-data", "sled", "exports", "magick"]
|
||||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
|
|
@ -91,7 +91,7 @@ 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
|
||||
curl -f https://imagemagick.org/archive/binaries/magick -o "$install_dir/pict-rs/magick" -s
|
||||
[ ! -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,7 @@ 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
|
||||
curl -f https://imagemagick.org/archive/binaries/magick -o "$install_dir/pict-rs/magick" -s
|
||||
[ ! -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