View Single Post
Old 1st October 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Default

Quote:
Originally Posted by DNAeon View Post
I'm sorry, I didn't understand you. I know nothing about pkg_replace, but from what I've learned about it it is a tool for upgrading packages - just like portupgrade is. The program I wrote is not trying to upgrade any existing package, but installs it instead.
Of course you can easily change the behaviour of the program if you just change the CMD* macros In fact now I've got another idea on how to improve it - I'll add a command-line options for the various pkg_* commands - pkg_add, pkg_delete, pkg_info, etc.. and upon that option the specified action will be taken onto the chosen package.
pkg_replace -N will install new ports.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote