aboutsummaryrefslogtreecommitdiff
path: root/desktop
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
parent08523c783135150e372a4a9b49b2b81863f23323 (diff)
desktop/enlightenment: Fixed (Don't clobber config files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/enlightenment/doinst.sh3
-rw-r--r--desktop/enlightenment/enlightenment.SlackBuild5
2 files changed, 5 insertions, 3 deletions
diff --git a/desktop/enlightenment/doinst.sh b/desktop/enlightenment/doinst.sh
index 60ed6a83caa7..babb02233ecd 100644
--- a/desktop/enlightenment/doinst.sh
+++ b/desktop/enlightenment/doinst.sh
@@ -9,4 +9,5 @@ config() {
}
config etc/enlightenment/sysactions.conf.new
-
+config etc/xdg/menus/enlightenment.menu.new
+config etc/X11/xinit/xinitrc.enlightenment17.new
diff --git a/desktop/enlightenment/enlightenment.SlackBuild b/desktop/enlightenment/enlightenment.SlackBuild
index 449d865758d2..e0836dc93da6 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