mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
Merge pull request #745 from JeWe37/jellyfin-rffmpeg
Correctly install pip packages via pip
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Ubuntu
|
## Ubuntu
|
||||||
if [ -f /usr/bin/apt ]; then
|
if [ -f /usr/bin/apt ]; then
|
||||||
for package in iputils-ping openssh-client python3-click python3-yaml python3 wakeonlan; do
|
for package in iputils-ping openssh-client wakeonlan; do
|
||||||
if ! dpkg -s "${package}" >/dev/null 2>&1; then
|
if ! dpkg -s "${package}" >/dev/null 2>&1; then
|
||||||
PACKAGES="${package} ${PACKAGES}"
|
PACKAGES="${package} ${PACKAGES}"
|
||||||
fi
|
fi
|
||||||
@@ -13,7 +13,7 @@ if [ -f /sbin/apk ]; then
|
|||||||
if ! grep -qxF '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing' /etc/apk/repositories; then
|
if ! grep -qxF '@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing' /etc/apk/repositories; then
|
||||||
echo @testing https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
|
echo @testing https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
|
||||||
fi
|
fi
|
||||||
for package in openssh py3-click py3-yaml python3 wol@testing; do
|
for package in openssh wol@testing; do
|
||||||
if ! apk info -e "${package}" >/dev/null 2>&1; then
|
if ! apk info -e "${package}" >/dev/null 2>&1; then
|
||||||
PACKAGES="${package} ${PACKAGES}"
|
PACKAGES="${package} ${PACKAGES}"
|
||||||
fi
|
fi
|
||||||
@@ -22,6 +22,7 @@ fi
|
|||||||
|
|
||||||
if [ -n "${PACKAGES}" ]; then
|
if [ -n "${PACKAGES}" ]; then
|
||||||
echo "${PACKAGES}" >> /mod-repo-packages-to-install.list
|
echo "${PACKAGES}" >> /mod-repo-packages-to-install.list
|
||||||
|
echo click pyyaml >> /mod-pip-packages-to-install.list
|
||||||
echo "**** Adding rffmpeg dependencies to package install list ****"
|
echo "**** Adding rffmpeg dependencies to package install list ****"
|
||||||
else
|
else
|
||||||
echo "**** rffmpeg dependencies already installed, skipping ****"
|
echo "**** rffmpeg dependencies already installed, skipping ****"
|
||||||
|
|||||||
Reference in New Issue
Block a user