Add 'Installer.sh'

This commit is contained in:
b.waal 2023-08-31 02:05:12 +02:00
parent 34090e5d1c
commit ebc858227f

37
Installer.sh Normal file
View File

@ -0,0 +1,37 @@
#!/bin/bash
##---------------##
# Static Vars #
##---------------##
#APTMODE="debconf-apt-progress -- apt"
#PKGM="$APTMODE"
#PKGUD="$PKGM update"
#PKGUP="$PKGM upgrade -y"
#PKGI="${PKGM} install -y"
#PKRM="$PKGM remove --purge -y"
#PKARM="$PKGM autoremove -y"
REPO=Pi-Hole
BRANCH=main
GIT=https://git.ictcorpnet.com/b.waal/$REPO/raw
https://git.ictcorpnet.com/b.waal/Pi-Hole/raw/branch/main
##-----------##
# Check OS #
##-----------##
wget $GIT/$BRANCH/Config/OScheck.sh -O /tmp/OScheck.sh
source /tmp/OScheck.sh
echo $dist
##---------------##
# Dependencies #
##---------------##
#$PKGI curl wget whiptail
apk update && apk add curl wget newt