mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
desktop/enlightenment: Fixed (Don't clobber config files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
08523c7831
commit
05df94092e
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue