#!/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