mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
complete rewrite to confirm to standards
This commit is contained in:
parent
cd3f5d6861
commit
774ab6d5ad
@ -23,3 +23,17 @@ else:
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user