Add 'Installer.sh'
This commit is contained in:
parent
34090e5d1c
commit
ebc858227f
37
Installer.sh
Normal file
37
Installer.sh
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user