aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-orphans
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
committermerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
commitfc8de2a8f48485ad8b035a4e76098c4a7dbadb05 (patch)
tree8334227f749afc03c992f7d17edbf72cb5bd6ba8 /contrib/cpt-orphans
parentf7d3e9f6771a75bff790c569a149f0fee1d28f41 (diff)
downloadcpt-fc8de2a8f48485ad8b035a4e76098c4a7dbadb05.tar.gz
docs: update
FossilOrigin-Name: 143ea57c3d8309faf15399199d0e2930f07371a34c08ff16e9a9f5fbb0be6a23
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