Skip to content
Snippets Groups Projects
Commit 3c0432e7 authored by Christoph Berg's avatar Christoph Berg :satellite:
Browse files

debian/maintscripts-functions: Remove empty /usr/share/man/ directories.

parent 0ab10b3d
No related branches found
No related tags found
No related merge requests found
Pipeline #614730 passed
......@@ -3,6 +3,7 @@ postgresql-common (257) UNRELEASED; urgency=medium
* Move systemd unit files to /usr on releases that support it.
* debian/maintscripts-functions: More carefully build update-alternatives
command line. Hopefully fixes "link and path can't be the same" errors.
* debian/maintscripts-functions: Remove empty /usr/share/man/ directories.
* pg_backupcluster: Add hostname, machine-id, and machine-deployment (from
/etc/machine-info) to backup status; use machine-readable timestamps for
starttime/endtime; sort keys.
......
......@@ -49,6 +49,7 @@ _unlink_manpages() {
mkdir -p /usr/share/man/man1 /usr/share/man/man3 /usr/share/man/man7
section=$(echo "$NAME" | sed -e 's/.*\.\(.*\)\..*/man\1/')
update-alternatives --remove $NAME /usr/share/postgresql/$VERSION/man/$section/$NAME
rmdir --ignore-fail-on-non-empty -p /usr/share/man/man1 /usr/share/man/man3 /usr/share/man/man7
}
_remove_tsearch() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment