summaryrefslogtreecommitdiffstats
path: root/source/a/pkgtools/manpages/removepkg.8
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-03-31 04:00:43 +0000
committer Eric Hameleers <alien@slackware.com>2020-03-31 08:59:49 +0200
commitc53350a4854e6d348955bdc9a5ca27b3a7a44756 (patch)
tree3dd9b1864d314a7f4ef6d6764bc79d28ab28d7fe /source/a/pkgtools/manpages/removepkg.8
parent4f2bf4aab6138916c8b1a2db874c95d92d89703b (diff)
downloadcurrent-c53350a4854e6d348955bdc9a5ca27b3a7a44756.tar.gz
current-c53350a4854e6d348955bdc9a5ca27b3a7a44756.tar.xz
Tue Mar 31 04:00:43 UTC 202020200331040043
a/pkgtools-15.0-noarch-31.txz: Rebuilt. removepkg: support an uninstall script. See removepkg(8). d/meson-0.54.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/pkgtools/manpages/removepkg.8')
-rw-r--r--source/a/pkgtools/manpages/removepkg.810
1 files changed, 9 insertions, 1 deletions
diff --git a/source/a/pkgtools/manpages/removepkg.8 b/source/a/pkgtools/manpages/removepkg.8
index f92ed8c2c..58a88ce60 100644
--- a/source/a/pkgtools/manpages/removepkg.8
+++ b/source/a/pkgtools/manpages/removepkg.8
@@ -70,9 +70,17 @@ you do this (and maybe pipe the output to
) before removing packages to make sure you've backed up anything that might
be important.
.LP
-When removing a package, it's original file index will be moved from
+When removing a package, its original file index will be moved from
/var/lib/pkgtools/packages to /var/log/pkgtools/removed_packages. Likewise, its installation
script will be moved from /var/lib/pkgtools/scripts to /var/log/pkgtools/removed_scripts.
+.LP
+.B removepkg
+supports /bin/sh compatible uninstall scripts.
+If the package shipped with an uninstall script, it will be run after the package
+is removed. If present, the uninstall script resides in the /var/lib/pkgtools/douninst.sh/
+directory and has the same full name as the package (without the extension). For example,
+a package named foo-1.0-noarch-1.txz might contain an uninstall script named:
+/var/lib/pkgtools/douninst.sh/foo-1.0-noarch-1
.SH OPTIONS
.TP
.B \--copy packagename