diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-27 22:33:27 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:38 -0500 |
commit | b4124b80c7639cba293eae79ad22aaedaeade711 (patch) | |
tree | 129e75ac2009f74043b8af03afff4737b8e58a93 | |
parent | 60ddb9241d4da3a0ada835a78fc621ef39cb6c90 (diff) |
desktop/bashrun2: Fixed (Don't clobber config files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | desktop/bashrun2/bashrun2.SlackBuild | 4 | ||||
-rw-r--r-- | desktop/bashrun2/doinst.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/desktop/bashrun2/bashrun2.SlackBuild b/desktop/bashrun2/bashrun2.SlackBuild index f917cc22eb1cd..66a76692f9277 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 ac45714e3dc8d..08abe5b2b9f7b 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 |