Skip to content

Commit 5b30ffb

Browse files
committed
Update APT Cache Before Installing On Fresh System
1 parent 7bbb3e1 commit 5b30ffb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,18 @@ OwnError()
3636

3737

3838
# Pre Checks To Avoid Later Screw Ups
39-
# Checking Logs Directory
4039

40+
# Checking Logs Directory
4141
if [ ! -d $LOGDIR ]
4242
then
4343
echo -e "\033[34mCreating EasyEngine (ee) Log Directory, Please Wait...\e[0m"
4444
mkdir -p $LOGDIR || OwnError "Unable To Create Log Directory $LOGDIR"
4545
fi
4646

47+
# Update The APT Cache
48+
echo -e "\033[34mUpdating APT Cache, Please Wait...\e[0m"
49+
apt-get update &>> $INSTALLLOG || OwnError "Unable To Update APT Cache"
50+
4751
# Checking Tee
4852
if [ ! -x /usr/bin/tee ]
4953
then

0 commit comments

Comments
 (0)