From f9b4ac3085092a7c3ffa10a5e9a3679ab2feebc4 Mon Sep 17 00:00:00 2001 From: lucas_csr Date: Tue, 28 Apr 2026 16:42:57 +0200 Subject: [PATCH] Update+ Upgrade and default .desktop --- CSR_INFOS.desktop | 10 ++++++++++ test.sh | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100755 CSR_INFOS.desktop diff --git a/CSR_INFOS.desktop b/CSR_INFOS.desktop new file mode 100755 index 0000000..c79560c --- /dev/null +++ b/CSR_INFOS.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=CSR_INFOS.desktop +Comment= +Exec=/usr/local/bin/csr_info/test.sh +Icon= +Path=/usr/local/bin/csr_info/ +Terminal=true +StartupNotify=false diff --git a/test.sh b/test.sh index 1e31ee2..852201d 100755 --- a/test.sh +++ b/test.sh @@ -93,5 +93,15 @@ if [[ "$answer" == [Yy] ]]; then else true fi +echo "Update..." +sudo apt-get update -y 2>&1 > /dev/null +echo "Upgrade..." +sudo apt-get full-upgrade -y 2>&1 > /dev/null +echo "Autoremove..." +sudo apt-get autoremove -y 2>&1 > /dev/null +echo "Clean..." +sudo apt-get clean -y 2>&1 > /dev/null +echo "Autoclean..." +sudo apt-get autoclean -y 2>&1 > /dev/null read -n 1 -s -r -p "Beenden mit Tastendruck" \ No newline at end of file