diff options
Diffstat (limited to 'libraries/VTK')
-rw-r--r-- | libraries/VTK/VTK.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libraries/VTK/VTK.SlackBuild b/libraries/VTK/VTK.SlackBuild index 4f23ed37ab..ae29a67c07 100644 --- a/libraries/VTK/VTK.SlackBuild +++ b/libraries/VTK/VTK.SlackBuild @@ -147,10 +147,12 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt -mv \ - $PKG/usr/plugins/ \ - $PKG/usr/lib${LIBDIRSUFFIX}/qt +[ -d $PKG/usr/plugins ] && { + mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt + mv \ + $PKG/usr/plugins/ \ + $PKG/usr/lib${LIBDIRSUFFIX}/qt +} mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |