mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-29 07:05:16 +02:00
`dkms install` with `--force`, for some reasons, my initial installing of some dkms modules was failing, the subsequent installing run into failure too, except when `--force` has been passed in. `--force` seems to be the correct flags for all invocation of `dkms` because it will be invoked either by `xbps-install` (`--force` is harmless there), or `xbps-install -yff` or `xbps-reconfigure`, which obviously need `--force`. While we're at it, invoke `dkms` in quiet mode because we will dump dkms into /dev/null anyway.
22 lines
561 B
Bash
22 lines
561 B
Bash
# Template file for 'xbps-triggers'
|
|
pkgname=xbps-triggers
|
|
version=0.125
|
|
revision=1
|
|
bootstrap=yes
|
|
short_desc="XBPS triggers for Void Linux"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="Public Domain"
|
|
homepage="https://voidlinux.org"
|
|
|
|
do_install() {
|
|
_triggersdir=usr/libexec/${pkgname}
|
|
|
|
for f in ${FILESDIR}/*; do
|
|
_trigger=$(basename $f)
|
|
vinstall ${FILESDIR}/${_trigger} 754 ${_triggersdir}
|
|
echo "# end" >> ${DESTDIR}/${_triggersdir}/${_trigger}
|
|
done
|
|
vmkdir var/db/xbps
|
|
cd ${DESTDIR}/var/db/xbps
|
|
ln -sf ../../../${_triggersdir} triggers
|
|
}
|