remove scipy from aarch64

This commit is contained in:
aptalca
2023-07-26 13:50:29 -04:00
parent 3228607e08
commit a91732f2f8
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# MediaDC - Docker mod for nextcloud # MediaDC - Docker mod for nextcloud
This mod adds the required and optional packages the [MediaDC](https://apps.nextcloud.com/apps/mediadc) nextcloud app needs to work. This mod adds the required and optional packages the [MediaDC](https://apps.nextcloud.com/apps/mediadc) nextcloud app needs to work. Optional dependency Scipy is only installed on x86_64 as there are no wheels available for arm64v8.
In nextcloud docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:nextcloud-mediadc` In nextcloud docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:nextcloud-mediadc`
@@ -6,6 +6,9 @@ if ! pip list 2> /dev/null | grep -q "pillow-heif" || ! pip list 2> /dev/null |
ffmpeg \ ffmpeg \
imagemagick \ imagemagick \
supervisor" >> /mod-repo-packages-to-install.list supervisor" >> /mod-repo-packages-to-install.list
if [ $(arch) = "x86_64" ]; then
echo "scipy" >> /mod-pip-packages-to-install.list
fi
echo "\ echo "\
asn1crypto \ asn1crypto \
cryptography \ cryptography \
@@ -14,8 +17,7 @@ if ! pip list 2> /dev/null | grep -q "pillow-heif" || ! pip list 2> /dev/null |
pillow \ pillow \
pillow-heif \ pillow-heif \
pynacl \ pynacl \
pywavelets \ pywavelets" >> /mod-pip-packages-to-install.list
scipy" >> /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