Universal standard numbering

and remove cleanup
This commit is contained in:
Eric Nemchik
2020-09-28 07:35:11 -05:00
parent d1464e1cde
commit 58ed5113ab
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
# Determine if setup is needed
if [[ -n "$(command -v git)" ]]; then
## Ubuntu
if [ -f /usr/bin/apt ]; then
apt-get update
apt-get install --no-install-recommends -y \
git
fi
# Alpine
if [ -f /sbin/apk ]; then
apk add --no-cache \
git
fi
fi