diff --git a/app/postinstallscript.sh b/app/postinstallscript.sh index 6143f46..213ef97 100644 --- a/app/postinstallscript.sh +++ b/app/postinstallscript.sh @@ -1,4 +1,9 @@ -#!/bin/sh +#!/bin/sh -e + +if [ ! -e /usr/bin/containerd ]; then + logger -p user.warn "$0: Container support required to install application." + exit 77 # EX_NOPERM +fi # Move the daemon.json file into localdata folder if [ ! -e localdata/daemon.json ]; then