Skip to content

Commit 9b8f774

Browse files
committed
iterate
1 parent bd9410a commit 9b8f774

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

image/base/install-imagemagick

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ apt -y -q install git make gcc pkg-config autoconf curl g++ yasm cmake \
1919
libltdl7-dev libbz2-dev gsfonts libtiff-dev libfreetype6-dev libjpeg-dev
2020

2121
if cat /etc/issue | grep -qi Debian; then
22-
# Use backports
22+
# Get VERSION_CODENAME
2323
. /etc/os-release
24-
apt -y -q install -t $VERSION_CODENAME-backports libaom-dev libheif1 libheif-dev
24+
# Use backports
25+
apt -y -q install \
26+
libaom-dev/$VERSION_CODENAME-backports \
27+
libheif1/$VERSION_CODENAME-backports \
28+
libheif-dev/$VERSION_CODENAME-backports
2529
else
2630
apt -y -q install libaom-dev libheif1 libheif-dev
2731
fi

0 commit comments

Comments
 (0)