diff options
Diffstat (limited to 'system/drbd-utils')
-rw-r--r-- | system/drbd-utils/drbd-utils.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/system/drbd-utils/drbd-utils.SlackBuild b/system/drbd-utils/drbd-utils.SlackBuild index d1eb851828..7596695cbd 100644 --- a/system/drbd-utils/drbd-utils.SlackBuild +++ b/system/drbd-utils/drbd-utils.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=drbd-utils VERSION=${VERSION:-8.9.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -95,6 +95,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr find $PKG/usr/man -type f -exec gzip -9 {} \; +# Remove dead symlink +unlink $PKG/usr/man/man8/drbd-overview.8 || true + +# Unbreak manpage symlinks after gzip (above) +find $PKG/usr/man -type l ! -name '*.gz' \ + -exec bash -c 'ln -s $(readlink $1).gz $1.gz && unlink $1' doh {} \; + # Relocate udev rules mkdir $PKG/lib/udev/rules.d mv $PKG/lib/udev/65-drbd.rules $PKG/lib/udev/rules.d |