mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Merge pull request #472 from linuxserver/universal-apprise-s6v3
switch to hybrid (universal apprise)
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if ! command -v apprise; then
|
||||||
|
echo "**** Adding apprise and its deps to package install lists ****"
|
||||||
|
echo "apprise" >> /mod-pip-packages-to-install.list
|
||||||
|
## Ubuntu
|
||||||
|
if [ -f /usr/bin/apt ]; then
|
||||||
|
echo "\
|
||||||
|
python3 \
|
||||||
|
python3-pip \
|
||||||
|
runc" >> /mod-repo-packages-to-install.list
|
||||||
|
fi
|
||||||
|
# Alpine
|
||||||
|
if [ -f /sbin/apk ]; then
|
||||||
|
echo "\
|
||||||
|
cargo \
|
||||||
|
libffi-dev \
|
||||||
|
openssl-dev \
|
||||||
|
python3 \
|
||||||
|
python3-dev \
|
||||||
|
python3 \
|
||||||
|
py3-pip" >> /mod-repo-packages-to-install.list
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "**** apprise already installed, skipping ****"
|
||||||
|
fi
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
oneshot
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
/etc/s6-overlay/s6-rc.d/init-mod-universal-apprise-add-package/run
|
||||||
Reference in New Issue
Block a user