mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
complete rewrite to confirm to standards
This commit is contained in:
@@ -23,3 +23,17 @@ else:
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
if ! pip list 2> /dev/null | grep -q "slurpit_netbox"; then
|
||||||
|
echo "**** Adding slurpit_netbox and their deps to package install lists ****"
|
||||||
|
echo "\
|
||||||
|
setuptools" >> /mod-pip-packages-to-install.list
|
||||||
|
if [ $(arch) = "x86_64" ]; then
|
||||||
|
echo "setuptools" >> /mod-pip-packages-to-install.list
|
||||||
|
fi
|
||||||
|
echo "\
|
||||||
|
slurpit_netbox" >> /mod-pip-packages-to-install.list
|
||||||
|
else
|
||||||
|
echo "**** slurpit_netbox already installed, skipping ****"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user