„bHELPER.sh“ ändern
This commit is contained in:
parent
573c8b99ed
commit
b4227935ca
33
bHELPER.sh
33
bHELPER.sh
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
SkriptVersion="2023-05-10 22:25"
|
||||
SkriptVersion="2023-06-13 01:10"
|
||||
|
||||
gl_SkriptName=$(basename "${0}")
|
||||
gl__SkriptPfadName=$(cd "$(dirname "${0}")"; pwd -P)/$(basename "${0}")
|
||||
|
@ -232,7 +232,7 @@ case ${hauptmenue} in
|
|||
x|X)
|
||||
if [[ ${XDG_CURRENT_DESKTOP} =~ .*KDE.* ]]
|
||||
then
|
||||
xdg-scrrensaver lock
|
||||
xdg-screensaver lock
|
||||
fi
|
||||
|
||||
if [[ ${WINDOWMANAGER} =~ .*xfce.* ]]
|
||||
|
@ -405,9 +405,7 @@ echo " ${gl__format_red}${gl__osprettyname}:${gl__format_off}"
|
|||
if grep -q "Tumbleweed\|Ubuntu\|Manjaro\|Arch Linux\|Mint" /etc/os-release ; then
|
||||
echo " ${gl__format_red}| U |${gl__format_off} Aktualisieren"
|
||||
fi
|
||||
if grep -q "Tumbleweed" /etc/os-release ; then
|
||||
echo " ${gl__format_red}| C |${gl__format_off} Alle nicht gepatchten CVEs auflisten"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo " ${gl__format_red}Paketverwaltungen:${gl__format_off}"
|
||||
[[ -f /usr/bin/flatpak ]] && echo " ${gl__format_red}| F |${gl__format_off} Flatpak"
|
||||
|
@ -654,31 +652,6 @@ terminal_output_end
|
|||
;;
|
||||
|
||||
|
||||
c|C)
|
||||
bannertitel="Hauptmenü => Software => Paketverwaltung => Alle nicht gepatchten CVEs auflisten"
|
||||
banner
|
||||
|
||||
if [ -f /usr/bin/zypper ] ; then
|
||||
|
||||
task_title "Daten der Reporitories aktualisieren"
|
||||
task_title_syntax "sudo zypper refresh"
|
||||
|
||||
terminal_output_begin
|
||||
sudo zypper refresh
|
||||
terminal_output_end
|
||||
|
||||
task_title "Alle noch nicht gepatchten CVEs auf diesen Betriebssystem auflisten"
|
||||
task_title_syntax "zypper list-patches --cve"
|
||||
|
||||
terminal_output_begin
|
||||
zypper list-patches --cve
|
||||
terminal_output_end
|
||||
|
||||
fi
|
||||
|
||||
ende
|
||||
;;
|
||||
|
||||
|
||||
p|P)
|
||||
bannertitel="Hauptmenü => Software => Programme"
|
||||
|
|
Loading…
Reference in New Issue