summaryrefslogtreecommitdiff
path: root/desktop/bashrun2
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 22:33:27 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:38 -0500
commitb4124b80c7639cba293eae79ad22aaedaeade711 (patch)
tree129e75ac2009f74043b8af03afff4737b8e58a93 /desktop/bashrun2
parent60ddb9241d4da3a0ada835a78fc621ef39cb6c90 (diff)
downloadslackbuilds-b4124b80c7639cba293eae79ad22aaedaeade711.tar.gz
desktop/bashrun2: Fixed (Don't clobber config files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/bashrun2')
-rw-r--r--desktop/bashrun2/bashrun2.SlackBuild4
-rw-r--r--desktop/bashrun2/doinst.sh2
2 files changed, 5 insertions, 1 deletions
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