„bHELPER.sh“ ändern

This commit is contained in:
dingens 2022-05-02 23:02:18 +00:00
parent 10afe31dac
commit 994610e53b
1 changed files with 22 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
SkriptVersion="2021-04-23 16:40"
SkriptVersion="2021-05-03 01:00"
gl_SkriptName=$(basename "${0}")
gl__SkriptPfadName=$(cd "$(dirname "${0}")"; pwd -P)/$(basename "${0}")
@ -384,14 +384,34 @@ read software
l|L)
bannertitel="Hauptmenü => Software => Paketverwaltung => Linux Distribution aktualisieren"
banner
if grep "openSUSE Tumbleweed" /etc/os-release &> /dev/null ; then
echo "${gl__format_cyanlight}●【${gl__format_off}${gl__format_red}Daten der Reporitories aktualisieren${gl__format_off}${gl__format_cyanlight}${gl__format_off}"
echo "${gl__ausgabe_anfang}"
sudo zypper refresh
echo "${gl__ausgabe_ende}"
echo ""
ausgefuehrte_syntax " sudo zypper refresh"
echo ""
echo "${gl__format_cyanlight}●【${gl__format_off}${gl__format_red}Anstehende Aktualisierungen anzeigen${gl__format_off}${gl__format_cyanlight}${gl__format_off}"
echo "${gl__ausgabe_anfang}"
zypper list-updates
echo "${gl__ausgabe_ende}"
echo ""
ausgefuehrte_syntax " zypper list-updates"
echo ""
echo "${gl__format_cyanlight}●【${gl__format_off}${gl__format_red}Aktualisierungen installieren${gl__format_off}${gl__format_cyanlight}${gl__format_off}"
echo "${gl__ausgabe_anfang}"
sudo zypper dup
echo "${gl__ausgabe_ende}"
echo ""
ausgefuehrte_syntax " sudo zypper refresh \n zypper list-updates \n sudo zypper dup"
ausgefuehrte_syntax " sudo zypper dup"
fi
if grep -i "ubuntu" /etc/os-release &> /dev/null ; then