Simple update script for openSUSE

Packages zenity and xterm must be installed and the script must be executable (chmod +x the-script) #!/bin/sh zenity –question –text ”Would you like to check and install updates?” if [ $? = 0 ]; then xterm -e su -c ’xterm -e zypper update && zypper -y upgrade’ root && zenity –info –text ”System Upgraded” else Continue reading →

openSUSE and deltarpm update

A bad feature which hog a lot of CPU power and usability. That feature can be removed by editing /etc/zypp/zypp.conf file Found from http://smithfarm-thebrain.blogspot.com/2013/02/opensuse-tell-zypper-to-not-do-delta-rpm.html

Automatic updates in Mint 19

Automatic updated is not a recomment way to upgrade system, because if user interrupts the process, system can be borked. Anyway if wanting to use automatic updates, it can do many ways, and here is one way. 1. Make a AUTOUPDATE script: sudo nano /etc/AUTOUPDATE … the contents #!/bin/bash ## Automatic updates in Mint 19 Continue reading →

Simple update script for Slackware

For getting to work this script, packages zenity and xterm must be installed. The Script: #!/bin/sh zenity –question –text ”Would you like to check updates?” if [ $? = 0 ]; then xterm -e su -c ’xterm -e slackpkg update’ root else exit 0 fi zenity –question –text ”Would you like to install updates?” if Continue reading →

Simple update script for PCLinuxOS

For getting to work this script, packages zenity and xterm must be installed. The Script: #!/bin/sh zenity –question –text ”Would you like to check updates?” if [ $? = 0 ]; then xterm -e su -c ’xterm -e apt-get update’ root else exit 0 fi zenity –question –text ”Would you like to install updates?” if Continue reading →