Staying up to date with slackware-current
Here's a nice script I use (I did not write it myself):
#!/bin/bash
#
# Check slackware-current
#
# Where to download from
# should script it so that the different sources can be listed and
# selected from the command line
SOURCE="rsync://slackware.mirrors.tds.net/slackware/slackware64-current"
# Change as necessary
OPTIONS="-avzP --delete --delete-after"
EXCLUDE="--exclude=pasture --exclude=kdei \
--exclude=zipslack"
DEST="/home/milanb/arhiva/install/distre/slackware/current64/download/"
case "$1" in
"-c" )
echo "Checking..."
/usr/bin/rsync $OPTIONS $EXCLUDE --dry-run $SOURCE $DEST
;;
"-d" )
echo "Downloading..."
/usr/bin/rsync $OPTIONS $EXCLUDE $SOURCE $DEST
;;
* )
echo "Usage: `basename $0` {-c|-d}"
echo -e "\t-c : Check for updates"
echo -e "\t-d : Download updates"
exit
;;
esac
######################################################
2 Comments:
What about swaret or slapt-get? I remember I successfully used swaret without any problems.
You can combine this script with swaret or slapt-get to install the fetched packages. This script is just a lean and mean way to fetch changes, so that you can easily burn installation DVD (or just create ISO image) any time. Once new stuff is fetched, run swaret against that directory to install new and updated packages.
Post a Comment
<< Home