aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-orphans
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cpt-orphans')
-rwxr-xr-xcontrib/cpt-orphans12
1 files changed, 11 insertions, 1 deletions
diff --git a/contrib/cpt-orphans b/contrib/cpt-orphans
index bf22305..728f511 100755
--- a/contrib/cpt-orphans
+++ b/contrib/cpt-orphans
@@ -1,5 +1,15 @@
#!/bin/sh -e
-# Print orphaned packages.
+# Print orphaned packages
+
+## SYNOPSIS:
+## .Nm
+## DESCRIPTION:
+## .Nm
+## prints a list of all packages that are not required by other packages. It
+## also reads the file
+## .Pa /etc/cpt-base
+## to determine base packages, and will keep those packages out of this printed
+## list.
trap 'rm -f $CPT_TMPDIR/packages-$$' EXIT