mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
fix test and update package names
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
if ! pip list 2>&1 | grep -q "pillow_heif" || ! pip list 2>&1 | grep -q "hexhamming" || ! pip list 2>&1 | grep -q "pywavelets"; then
|
if ! pip list 2> /dev/null | grep -q "pillow-heif" || ! pip list 2> /dev/null | grep -q "hexhamming" || ! pip list 2> /dev/null | grep -q "PyWavelets"; then
|
||||||
echo "**** Adding pillow_heif, hexhamming, pywavelets and their deps to package install lists ****"
|
echo "**** Adding pillow-heif, hexhamming, pywavelets and their deps to package install lists ****"
|
||||||
echo "\
|
echo "\
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
@@ -15,7 +15,7 @@ if ! pip list 2>&1 | grep -q "pillow_heif" || ! pip list 2>&1 | grep -q "hexhamm
|
|||||||
py3-cryptography \
|
py3-cryptography \
|
||||||
py3-pip" >> /mod-repo-packages-to-install.list
|
py3-pip" >> /mod-repo-packages-to-install.list
|
||||||
if [ $(arch) = "armv7l" ]; then
|
if [ $(arch) = "armv7l" ]; then
|
||||||
echo "**** Installing build deps for pillow_heif on arm32v7, compiling pillow_heif may take a long time in the next step ****"
|
echo "**** Installing build deps for pillow-heif on arm32v7, compiling pillow_heif may take a long time in the next step ****"
|
||||||
echo "\
|
echo "\
|
||||||
python3-dev \
|
python3-dev \
|
||||||
libtool \
|
libtool \
|
||||||
@@ -28,9 +28,9 @@ if ! pip list 2>&1 | grep -q "pillow_heif" || ! pip list 2>&1 | grep -q "hexhamm
|
|||||||
aom-dev" >> /mod-repo-packages-to-install.list
|
aom-dev" >> /mod-repo-packages-to-install.list
|
||||||
fi
|
fi
|
||||||
echo "\
|
echo "\
|
||||||
pillow_heif \
|
pillow-heif \
|
||||||
hexhamming \
|
hexhamming \
|
||||||
pywavelets" >> /mod-pip-packages-to-install.list
|
pywavelets" >> /mod-pip-packages-to-install.list
|
||||||
else
|
else
|
||||||
echo "**** pillow_heif, hexhamming and pywavelets already installed, skipping ****"
|
echo "**** pillow-heif, hexhamming and pywavelets already installed, skipping ****"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user