aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2002-02-11 03:45:29 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2002-02-11 03:45:29 +0000
commit505e7511bc45710fa31f9d3c6625329ec6704a05 (patch)
tree1a9b714bdc18e8c205071994de591b2df0bbc3fa /games
parentd2f22d707a613465ef6bad7492e976baa28d2e85 (diff)
Notes
Diffstat (limited to 'games')
-rw-r--r--games/fortune/datfiles/freebsd-tips6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips
index 8032863f14a5..46b19e66e821 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'