Posted by Cleuby Castilho on Fri 31 Aug 00:37
report abuse | download | new post
- #!/bin/sh
- # Make sure we are root.
- if [ "$EUID" != "0" ]; then
- echo "You must have root privileges to run this script!"
- exit 1
- fi
- printf "################################################################################\n"
- printf "YAST INSTALLATION SOURCES SETUP SCRIPT FOR openSUSE 10.2\n"
- printf "by Scott Morris (2006-12-22)\n"
- printf "http://www.suseblog.com/\n\n"
- printf "You *MUST* be connected to the Internet for this script to work!\n\n"
- printf "Though almost all repositories are added in a matter of seconds, the OSS\n"
- printf "repository can take upwards of half an hour to download and parse through all\n"
- printf "the metadata. It works fine, it just takes awhile on that repo. Please be\n"
- printf "patient with that one.\n"
- printf "################################################################################\n"
- rug service-add http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.2/ --type=ZYPP "Guru"
- rug service-add http://packman.iu-bremen.de/suse/10.2 --type=ZYPP "Packman"
- rug service-add http://software.opensuse.org/download/editors/openSUSE_10.2/ --type=ZYPP "editors"echo
- rug service-add http://software.opensuse.org/download/GNOME:/Community/openSUSE_10.2/ --type=ZYPP "GNOME-Community"
- rug service-add http://software.opensuse.org/download/KDE:/Community/openSUSE_10.2/ --type=ZYPP "KDE-Community"
- rug service-add http://software.opensuse.org/download/KDE:/KDE3/openSUSE_10.2/ --type=ZYPP "KDE3"
- rug service-add http://software.opensuse.org/download/KDE:/Qt/openSUSE_10.2/ --type=ZYPP "KDE-QT"
- rug service-add http://software.opensuse.org/download/openSUSE:/Tools/openSUSE_10.2 --type=ZYPP "openSUSE-Tools"
- rug service-add http://software.opensuse.org/download/server%3a/monitoring/openSUSE_10.2/ --type=ZYPP "server-monitoring"
- rug service-add http://software.opensuse.org/download/X11%3a/XGL/SUSE_Factory --type=ZYPP "XGL SUSE Factory"
- rug service-add http://software.opensuse.org/download/X11:/xfce/openSUSE_10.2/ --type=ZYPP "xfce"
- rug service-add http://software.opensuse.org/download/X11:/XGL/openSUSE_10.2/ --type=ZYPP "XGL"
- rug service-add http://suse.mirrors.tds.net/pub/suse/update/10.2 --type=ZYPP "openSUSE-update"
- rug service-add http://suse.osuosl.org/suse/update/10.2 --type=ZYPP "SUSE Update"
- rug service-add http://download.videolan.org/pub/videolan/vlc/0.8.6/SuSE/10.2/ --type=ZYPP "Videolan"
- printf "Adding non-oss repository. This may take a few minutes.\n"
- rug service-add http://download.opensuse.org/distribution/10.2/repo/non-oss/ --type=ZYPP "openSUSE-10.2-non-oss"
- printf "Adding OSS repository. This may take quite awhile. Rest assured that it hasn't locked up.\n"
- rug service-add http://download.opensuse.org/distribution/10.2/repo/oss/ --type=ZYPP "openSUSE-10.2"
- printf "\nThe script has now finished.\n"
- printf "For many more installation sources, please visit the following URL:\n"
- printf "http://linux.wordpress.com/2006/12/20/opensuse-102-the-most-complete-list-of-repositories/\n\n\n"
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.