summaryrefslogtreecommitdiffstats
path: root/source/l/libnotify
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libnotify')
-rwxr-xr-xsource/l/libnotify/libnotify.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/l/libnotify/libnotify.SlackBuild b/source/l/libnotify/libnotify.SlackBuild
index 4e1a6c14e..5e1c842ad 100755
--- a/source/l/libnotify/libnotify.SlackBuild
+++ b/source/l/libnotify/libnotify.SlackBuild
@@ -107,7 +107,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a AUTHORS COPYING README $PKG/usr/doc/$PKGNAM-$VERSION
-( cd $PKG/usr/doc/$PKGNAM-$VERSION ; ln -s ../../share/gtk-doc/html/libnotify html )
+if [ -d $PKG/usr/share/gtk-doc/html/libnotify ]; then
+ ( cd $PKG/usr/doc/$PKGNAM-$VERSION ; ln -s ../../share/gtk-doc/html/libnotify html )
+fi
# If there's a ChangeLog, installing at least part of the recent history
# is useful, but don't let it get totally out of control: