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