summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/photivo/photivo.SlackBuild3
1 files changed, 2 insertions, 1 deletions
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