diff options
author | keramida <keramida@FreeBSD.org> | 2002-02-11 03:45:29 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2002-02-11 03:45:29 +0000 |
commit | 7e8c393af1ae32a678d095a4f08de116686e5597 (patch) | |
tree | 1a9b714bdc18e8c205071994de591b2df0bbc3fa /games/fortune | |
parent | 78de9bc0b9dec9b9a243e2e44a2ed426423ab068 (diff) | |
download | FreeBSD-src-7e8c393af1ae32a678d095a4f08de116686e5597.zip FreeBSD-src-7e8c393af1ae32a678d095a4f08de116686e5597.tar.gz |
Add a tip about pkg_info and checking for multiple installed versions
of a package/port.
Diffstat (limited to 'games/fortune')
-rw-r--r-- | games/fortune/datfiles/freebsd-tips | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips index 8032863..46b19e6 100644 --- a/games/fortune/datfiles/freebsd-tips +++ b/games/fortune/datfiles/freebsd-tips @@ -469,3 +469,9 @@ write This won't work if you don't have write permissions to the directory and probably won't be suitable if you're editing through a symbolic link. +% +If you want to quickly check for duplicate package/port installations, +try the following pkg_info command. + + pkg_info | sort | sed -e 's/-[0-9].*$//' | \ + uniq -c | grep -v '^[[:space:]]*1' |