Fixed oopsie and added msg's

This commit is contained in:
b.waal
2020-08-05 15:28:31 +02:00
parent 8b85abd30f
commit 3087ac7ca7

View File

@@ -155,7 +155,7 @@ option="$option""$aonoption"
##-----------##
echo "Generating apt list for Options"
msg " Generating apt list for Options"
for val1 in ${option[*]}; do
echo "$val1" #TMP
modListed=$(wget -t7 -qO - "$repo"/raw/branch/master/extModules.list|grep "$val1")
@@ -189,7 +189,7 @@ done
# Preconf #
##-----------##
echo "Running preconf for Options"
msg " Running preconf for Options"
for val1 in ${option[*]}; do
echo "$val1" #TMP
modListed=$(wget -t7 -qO - "$repo"/raw/branch/master/extModules.list|grep "$val1")
@@ -228,7 +228,7 @@ cat /tmp/apt.list | xargs $PKGI
# Configuring #
##---------------##
echo "Running conf for Options"
msg " Running conf for Options"
for val1 in ${option[*]}; do
echo "$val1" #TMP
modListed=$(wget -t7 -qO - "$repo"/raw/branch/master/extModules.list|grep "$val1")
@@ -259,4 +259,4 @@ done
##-------##
msg " Added Module!"
for f in /etc/update-motd.d/51*; do [ -e "$f" ] && bash /etc/update-motd.d/51*; break; done
for f in /etc/update-motd.d/51*; do [ -e "$f" ] && bash /etc/update-motd.d/51*; done