aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-12-09 11:15:08 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:38 +0000
commit3e7dce5d27b3d591b8b2fc8c049f05f4d6cfbe93 (patch)
treef7e714a050cf5beb98f18868c4aedd84a3598332 /graphics
parentcdbd2caec49ca242dff013b3555de73a39ca64bb (diff)
graphics/photivo: Fixed SlackBuild.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 14314880b606..25b91ef7ed01 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