From 3e7dce5d27b3d591b8b2fc8c049f05f4d6cfbe93 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 9 Dec 2016 11:15:08 +0000 Subject: [PATCH] graphics/photivo: Fixed SlackBuild. Signed-off-by: David Spencer --- graphics/photivo/photivo.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/photivo/photivo.SlackBuild b/graphics/photivo/photivo.SlackBuild index 14314880b6..25b91ef7ed 100644 --- a/graphics/photivo/photivo.SlackBuild +++ b/graphics/photivo/photivo.SlackBuild @@ -78,7 +78,8 @@ CXXFLAGS="$SLKCFLAGS -fno-finite-math-only" \ make make install INSTALL_ROOT=$PKG -rm -rf $PKG/root +rm -rf $PKG/${HOME:-root}/Desktop +rmdir -p --ignore-fail-on-non-empty $PKG/${HOME:-root} 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