diff --git a/detect.sh b/detect.sh index e69de29..bb6e5ba 100644 --- a/detect.sh +++ b/detect.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +if command -v docker &>/dev/null +then + echo docker + exit +fi + +if command -v apt &>/dev/null +then + echo apt + exit +fi + +if command -v apk &>/dev/null +then + echo apk + exit +fi + +echo unknown \ No newline at end of file