Update+ Upgrade and default .desktop
This commit is contained in:
10
CSR_INFOS.desktop
Executable file
10
CSR_INFOS.desktop
Executable file
@@ -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
|
||||||
10
test.sh
10
test.sh
@@ -93,5 +93,15 @@ if [[ "$answer" == [Yy] ]]; then
|
|||||||
else
|
else
|
||||||
true
|
true
|
||||||
fi
|
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"
|
read -n 1 -s -r -p "Beenden mit Tastendruck"
|
||||||
Reference in New Issue
Block a user