Test if cscli is installed if so run hub update and reload
#!/bin/sh
-cscli --error hub update && cscli --error hub upgrade
+test -x /usr/bin/cscli || exit 0
+/usr/bin/cscli --error hub update && /usr/bin/cscli --error hub upgrade
systemctl reload crowdsec
exit 0
