diff options
author | adrianp <adrianp@pkgsrc.org> | 2009-01-04 00:44:38 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2009-01-04 00:44:38 +0000 |
commit | a88f7c13cd0616712cf6995d96bc05c5c3f82bdb (patch) | |
tree | 2a17731e1e8bc6744f0f3fd036aa9188d0765c29 /pkgtools/pkg_distinst/DESCR | |
parent | 4986d52a75c9217f218b2227f83d5e9da0cec798 (diff) | |
download | pkgsrc-a88f7c13cd0616712cf6995d96bc05c5c3f82bdb.tar.gz |
This is a simple script that will synchronise the content of your ${DISTDIR}
directory with currently installed packages.
This script will delete any ${DISTFILE} in ${DISTDIR} that does not currently
have an installed package as an owner.
If you play with packages a fair bit and download some just to have a play with
and delete the package later your ${DISTDIR} can end up with a lot of orphaned
${DISTFILES}. While lintpkgsrc will help you remove outdated ${DISTFILES} it
does not do any corealtion with installed packakges which is the gap this
script aims to fill.
With "lintpkgsrc -or && pkg_distinst --delete" you can and up with a fairly
lean and current ${DISTDIR}.
Diffstat (limited to 'pkgtools/pkg_distinst/DESCR')
-rw-r--r-- | pkgtools/pkg_distinst/DESCR | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgtools/pkg_distinst/DESCR b/pkgtools/pkg_distinst/DESCR new file mode 100644 index 00000000000..d4b24981786 --- /dev/null +++ b/pkgtools/pkg_distinst/DESCR @@ -0,0 +1,14 @@ +This is a simple script that will synchronise the content of your ${DISTDIR} +directory with currently installed packages. + +This script will delete any ${DISTFILE} in ${DISTDIR} that does not currently +have an installed package as an owner. + +If you play with packages a fair bit and download some just to have a play with +and delete the package later your ${DISTDIR} can end up with a lot of orphaned +${DISTFILES}. While lintpkgsrc will help you remove outdated ${DISTFILES} it +does not do any corealtion with installed packakges which is the gap this +script aims to fill. + +With "lintpkgsrc -or && pkg_distinst --delete" you can and up with a fairly +lean and current ${DISTDIR}. |