Updated menu; quiet output

This commit is contained in:
b.waal
2019-09-15 18:39:29 +02:00
parent 2cd628ddb0
commit a070adb96f

View File

@@ -10,12 +10,14 @@ PKGM="apt"
if [ "$1" != "-l" ]; then if [ "$1" != "-l" ]; then
echo "Normal mode" echo "Normal mode"
PKGM="debconf-apt-progress -- apt" PKGM="debconf-apt-progress -- apt"
OUTPUT="> /dev/null 2>&1"
IMODE=n IMODE=n
fi fi
if [ "$1" = "-l" ]; then if [ "$1" = "-l" ]; then
echo "Legacy mode"; echo "Legacy mode";
PKGM="apt" PKGM="apt"
OUTPUT=""
IMODE=l IMODE=l
fi fi
PKGA="add-apt-repository" PKGA="add-apt-repository"