standardize apt-get

This commit is contained in:
aptalca
2021-09-21 14:13:55 -04:00
parent 6f96b8962b
commit 7c008d466f
2 changed files with 19 additions and 16 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
apt-get update
+1 -1
View File
@@ -3,7 +3,7 @@
# install git if needed # install git if needed
if [ -z `command -v git` ]; then if [ -z `command -v git` ]; then
echo "**** installing git ****" echo "**** installing git ****"
apt-get update && apt-get install --no-install-recommends -y git apt-get install --no-install-recommends -y git
fi fi
# clone or update Absolute Series Scanner repo # clone or update Absolute Series Scanner repo