What I decided to do, with permission from briareus himself of course, is take the script and turn it into a bash script, instead of a big one line command. What the script does is take the place of having to do urpmi --auto-select, updatedb, update menus and a couple of other commands. Makes it to where all you have to do is type one little word to execute the script and you are good to. He agreed, and below is the new code.
What you need to do is open up your favorite editor and paste the code in the box below into your editor of choice. Save the file as updater and then copy it over to /usr/bin and perform the following command as root user:
chmod +x /usr/bin/updater
To run the script, just type 'updater' as root in a terminal. Below is the actual code:
Thanks to drivamgr2005 and his translation to the German language of this script:
#!/bin/bash # Mandriva 'urpmi --auto-select' automatic update script, # also known as 'Updater'. # Originally written by briareus, modified by Hawkwind. # remodified by Drivamgr2005 into the German Language # If you have any questions of comments, please email me at: hawkwind@gmail.com # Or you can contact briareus(the original author) at: briareus@gmail.com # Both myself and briareus can also be found on the irc.freenode.net irc server # In the channel #LFD # Please come by and visit us with an questions/comments on the script. # Wenn Sie hat fragen fuer den uebersetzer, # bitte zum efaulk1100@ntlworld.com eine email schicken. # When this script is run, it will automatically update # your current Mandriva install as long as you have online sources. # Those can be found at: http://urpmi-addmedia.org # It basically replaces urpmi --auto-select and requires no user input # what so ever for complete updates to the system. # Below are the various variables we set for use later in the script. C='clear' E='echo' UU='urpmi.update' WG='--wget' U='urpmi' AS='--auto-select' A='--auto' DB='updatedb' UM='update-menus' # Below is the actual script itself $C $E "--> MANDRIVA AUTOMATISCHE UPDATEINDEX <--" $E "--> WIR AKTUALISIEREN JETZT DAS HDLIST VON IHREN <--" $E "--> GEGENWÄRTIGEN ON-LINE-SPIEGELN <--" $UU $WG -a $E "--> WIR BRINGEN JETZT EINE AKTUALISIERTE VERSION <--" $E "--> VON URPMI AN, WENN SIE BESTEHT <--" $U $WG $U $E "--> WIR BRINGEN JETZT ALLE VORHANDENEN AKTUALISIERTEN PAKETE AN <--" $U $WG $AS $A $E "--> WIR AKTUALISIEREN JETZT DIE SLOCATE DATENBANK <--" $DB $E "--> WIR AKTUALISIEREN JETZT DIE MENÜS, WIE GEBRAUCHT <--" $UM $E "--> IHRE MANDRIVA BRINGEN IST JETZT AKTUELL AN, SO GUT WIE MÖGLICH <--" $E "--> VON DEN ON-LINE-SPIEGELN HABEN SIE VON SPEZIFIZIERT <--" $E "--> http://urpmi-addmedia.org <--"
