summaryrefslogtreecommitdiff
path: root/desktop/enlightenment/enlightenment.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 23:03:15 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:39 -0500
commit05df94092e0800d2fda0372055f3d1a81d9b5aa6 (patch)
tree6fd87dd51dbe6e0bc2e27741a42f1edabdcb440a /desktop/enlightenment/enlightenment.SlackBuild
parent08523c783135150e372a4a9b49b2b81863f23323 (diff)
downloadslackbuilds-05df94092e0800d2fda0372055f3d1a81d9b5aa6.tar.gz
desktop/enlightenment: Fixed (Don't clobber config files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/enlightenment/enlightenment.SlackBuild')
-rw-r--r--desktop/enlightenment/enlightenment.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/enlightenment/enlightenment.SlackBuild b/desktop/enlightenment/enlightenment.SlackBuild
index 449d865758..e0836dc93d 100644
--- a/desktop/enlightenment/enlightenment.SlackBuild
+++ b/desktop/enlightenment/enlightenment.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=enlightenment
VERSION=${VERSION:-0.16.999.70492}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -67,10 +67,11 @@ make install DESTDIR=$PKG
# Don't clobber config files on upgrade
mv $PKG/etc/enlightenment/sysactions.conf $PKG/etc/enlightenment/sysactions.conf.new
+mv $PKG/etc/xdg/menus/enlightenment.menu $PKG/etc/xdg/menus/enlightenment.menu.new
# Handle the xinitrc file
mkdir -p $PKG/etc/X11/xinit
-cat $CWD/xinitrc.enlightenment17 > $PKG/etc/X11/xinit/xinitrc.enlightenment17
+cat $CWD/xinitrc.enlightenment17 > $PKG/etc/X11/xinit/xinitrc.enlightenment17.new
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true