diff options
Diffstat (limited to 'source/ap/lxc/lxc.SlackBuild')
-rwxr-xr-x | source/ap/lxc/lxc.SlackBuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/ap/lxc/lxc.SlackBuild b/source/ap/lxc/lxc.SlackBuild index b7977077..365d77d4 100755 --- a/source/ap/lxc/lxc.SlackBuild +++ b/source/ap/lxc/lxc.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=lxc VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | rev | cut -f 2- -d -)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -138,11 +138,10 @@ mv $PKG/etc/default/lxc $PKG/etc/default/lxc.new # Install an init script (non executable by default): install -D -m 0644 $CWD/rc.lxc $PKG/etc/rc.d/rc.lxc.new -# Put bash completion file in system directory: -mkdir -p $PKG/usr/share/bash-completion/completions/ -mv $PKG/etc/bash_completion.d/lxc \ - $PKG/usr/share/bash-completion/completions/lxc -rmdir --parents $PKG/etc/bash_completion.d 2>/dev/null +# Put bash completion files in system directory: +mkdir -p $PKG/usr/share/bash-completion/completions +mv $PKG/etc/bash_completion.d/* $PKG/usr/share/bash-completion/completions +rm -r $PKG/etc/bash_completion.d # Strip binaries: ( cd $PKG |