keep ports up to date.

Martin Klaffenboeck martin.klaffenboeck at gmx.at
Thu May 8 07:05:11 PDT 2003


> You should
> install
> sysutils/portupgrade, and get used to using it to keep your installed
> ports up-to-date.

I'm using this script by hand daily:

--------- ports_uptodate.sh ----------
#!/bin/sh
  if [ "$1" != "-s" ]; then
         cd /usr/ports
         cp INDEX.ports INDEX
         make update
         cp INDEX INDEX.ports
         marcusmerge -u
         portsdb -uU
fi
  pkgdb -F
portversion -l "<" | awk '{ print($1); }' > /root/work/update
vi /root/work/update
  portupgrade `cat /root/work/update`
pkgdb -F
-------------------------------------

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030507/81c222c1/attachment.bin


More information about the freebsd-gnome mailing list