From 8fdf2c2bc26da5b3a7b3b1a47e0d3c09cedb966c Mon Sep 17 00:00:00 2001 From: gorgone Date: Mon, 11 Feb 2019 23:12:20 +0100 Subject: [PATCH] change debian/ubuntu install for non root --- support/os/debian_ubuntu.install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/support/os/debian_ubuntu.install b/support/os/debian_ubuntu.install index bb2f221..e832d0a 100644 --- a/support/os/debian_ubuntu.install +++ b/support/os/debian_ubuntu.install @@ -80,10 +80,11 @@ if [ ${#packages} -gt 0 ]; then if [ "$EUID" -ne 0 ] && [ ! "$ID" == "ubuntu" ]; then echo -en "$r_l\n enter root "; su root -c " - echo -e '\033[1;37m\n' ' 'update'\033[1;32m' package list...'\n'; + echo -e '\033[1;37m\n update\033[1;32m package list...\n'; apt-get -y update |grep --line-buffered -v '^T\|(\|^I\|^H' 2>&1; echo -e '\n\033[1;37m install\033[1;32m $txt_selected packages\033[1;33m $txt_wait\n'; - apt-get -y -qq install $packages |grep --line-buffered '(' |grep --line-buffered -v 'nicht;" + apt-get -y -qq install $packages |grep --line-buffered '(' |grep --line-buffered -v 'nicht\|dpkg'; + " else echo -e "\033[1;37m update\033[1;32m package list... \n"; $prefix apt-get -y update |grep --line-buffered -v '^T\|(\|^I\|^H' 2>&1;