Gorgone
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
6 deletions
-
support/os/debian_ubuntu.install
|
|
@ -77,18 +77,18 @@ fi |
|
|
|
if [ ${#packages} -gt 0 ]; then |
|
|
|
echo -n >"$install_log" &2>/dev/null; |
|
|
|
echo -e "$w_l\n INSTALLATION\n ============"; |
|
|
|
if [ "$EUID" -ne 0 ]; then |
|
|
|
if [ "$EUID" -ne 0 ] && [ ! "$ID" == "ubuntu" ]; then |
|
|
|
echo -en "$r_l\n enter root "; |
|
|
|
$prefix su root -c "\ |
|
|
|
su root -c " |
|
|
|
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;" |
|
|
|
else |
|
|
|
echo -e '\033[1;37m' ' '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 packages \033[1;33m"$txt_wait'\n'; |
|
|
|
apt-get -y -qq install $packages |grep --line-buffered '(' |grep --line-buffered -v 'nicht'; |
|
|
|
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; |
|
|
|
echo -e "\n\033[1;37m install\033[1;32m packages \033[1;33m$txt_wait \n"; |
|
|
|
$prefix apt-get -y -qq install $packages |grep --line-buffered '(' |grep --line-buffered -v 'nicht'; |
|
|
|
fi; |
|
|
|
fi; |
|
|
|
|
|
|
|