This commit is contained in:
deathbybandaid 2022-03-08 07:42:07 -05:00
parent f751b0d6d0
commit 010350c2bf

View File

@ -1,8 +1,32 @@
#!/bin/bash
echo "Setting up template environment"
## Script Location
SCRIPTDIR=$(dirname $0)
echo $SCRIPTDIR
## Folder Name of Script
COMPLETEFOLDERPATH=$(realpath $SCRIPTDIR)
echo $COMPLETEFOLDERPATH
source $HOME/.bashrc
## Check for whiptail
if which whiptail >/dev/null;
then
:
else
apt-get install -y whiptail
fi
## Check for git
if which git >/dev/null;
then
:
else
apt-get install -y git
fi
## Update
echo "Running topgrade"
/opt/topgrade/topgrade