systemd: fix manpage links.

This commit is contained in:
Juan RP 2013-05-15 11:28:07 +02:00
parent a5a0bfbc48
commit 4202910a24

View file

@ -1,7 +1,7 @@
# Template file for 'systemd' # Template file for 'systemd'
pkgname=systemd pkgname=systemd
version=204 version=204
revision=2 revision=3
short_desc="A system and service manager for Linux" short_desc="A system and service manager for Linux"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/systemd" homepage="http://www.freedesktop.org/wiki/Software/systemd"
@ -118,6 +118,10 @@ post_install() {
# Required dirs at run time. # Required dirs at run time.
vinstall ${FILESDIR}/systemd-dirs.tmpfiles 644 \ vinstall ${FILESDIR}/systemd-dirs.tmpfiles 644 \
usr/lib/tmpfiles.d systemd-dirs.conf usr/lib/tmpfiles.d systemd-dirs.conf
# fix .so links in manpage stubs
find ${DESTDIR}/usr/share/man -type f -name '*.[[:digit:]]' \
-exec sed -ri '1s|^\.so (.*)\.([0-9]+)|.so man\2/\1.\2|' {} +
} }
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then