From b4124b80c7639cba293eae79ad22aaedaeade711 Mon Sep 17 00:00:00 2001 From: dsomero Date: Thu, 27 Sep 2012 22:33:27 -0400 Subject: desktop/bashrun2: Fixed (Don't clobber config files) Signed-off-by: dsomero --- desktop/bashrun2/bashrun2.SlackBuild | 4 +++- desktop/bashrun2/doinst.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'desktop/bashrun2') diff --git a/desktop/bashrun2/bashrun2.SlackBuild b/desktop/bashrun2/bashrun2.SlackBuild index f917cc22eb..66a76692f9 100644 --- a/desktop/bashrun2/bashrun2.SlackBuild +++ b/desktop/bashrun2/bashrun2.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=bashrun2 VERSION=${VERSION:-0.2.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -81,6 +81,8 @@ make make install-strip DESTDIR=$PKG mv $PKG/etc/xdg/bashrun2/bashrun2.rc $PKG/etc/xdg/bashrun2/bashrun2.rc.new +mv $PKG/etc/xdg/bashrun2/plugins/terminal.rc $PKG/etc/xdg/bashrun2/plugins/terminal.rc.new +mv $PKG/etc/bash_completion.d/bashrun2 $PKGetc/bash_completion.d/bashrun2.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 diff --git a/desktop/bashrun2/doinst.sh b/desktop/bashrun2/doinst.sh index ac45714e3d..08abe5b2b9 100644 --- a/desktop/bashrun2/doinst.sh +++ b/desktop/bashrun2/doinst.sh @@ -12,3 +12,5 @@ config() { } config etc/xdg/bashrun2/bashrun2.rc.new +config etc/xdg/bashrun2/plugins/terminal.rc.new +config etc/bash_completion.d/bashrun2.new -- cgit v1.2.3