summaryrefslogtreecommitdiff
path: root/source/ap/lxc
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-11-12 19:19:46 +0000
committerEric Hameleers <alien@slackware.com>2021-11-13 08:59:55 +0100
commit16ac9d3a43867e3a389c4459e8d2cd01b7cc13ed (patch)
treed4559a81e92fe4a6a5527539304179048bf20269 /source/ap/lxc
parent5f74398bf9e65ea1aa61c9a843a88f98700ccab7 (diff)
downloadcurrent-16ac9d3a43867e3a389c4459e8d2cd01b7cc13ed.tar.gz
Fri Nov 12 19:19:46 UTC 202120211112191946
a/kernel-generic-5.15.2-x86_64-1.txz: Upgraded. a/kernel-huge-5.15.2-x86_64-1.txz: Upgraded. a/kernel-modules-5.15.2-x86_64-1.txz: Upgraded. a/sysvinit-scripts-15.0-noarch-7.txz: Rebuilt. rc.M: adjust the startup order to make sure a few services are running when needed (such as MariaDB for dovecot and postfix). Thanks to Tshane. ap/ksh93-20211112_d160abc-x86_64-1.txz: Upgraded. Don't assume that /bin/sh mode is desired when ksh is run from su. Thanks to McDutchie. ap/lxc-4.0.11-x86_64-2.txz: Rebuilt. Move the bash-completion symlinks to the system directory. Thanks to kaott. d/kernel-headers-5.15.2-x86-1.txz: Upgraded. k/kernel-source-5.15.2-noarch-1.txz: Upgraded. l/pipewire-0.3.40-x86_64-1.txz: Upgraded. n/s-nail-14.9.23-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/ap/lxc')
-rwxr-xr-xsource/ap/lxc/lxc.SlackBuild11
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