From 05df94092e0800d2fda0372055f3d1a81d9b5aa6 Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 27 Sep 2012 23:03:15 -0400 Subject: desktop/enlightenment: Fixed (Don't clobber config files) Signed-off-by: dsomero --- desktop/enlightenment/doinst.sh | 3 ++- desktop/enlightenment/enlightenment.SlackBuild | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'desktop/enlightenment') diff --git a/desktop/enlightenment/doinst.sh b/desktop/enlightenment/doinst.sh index 60ed6a83ca..babb02233e 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 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 -- cgit v1.2.3