xbps-src: remove vestiges of the systemd-services hook.

This commit is contained in:
Juan RP 2015-07-11 11:30:09 +02:00
parent 2a3ce373aa
commit e03593db73
2 changed files with 0 additions and 26 deletions

View File

@ -35,9 +35,6 @@ unset -v dkms_modules
# xbps-triggers: kernel-hooks
unset -v kernel_hooks_version
# xbps-triggers: systemd-service
unset -v systemd_services
# xbps-triggers: mkdirs
unset -v make_dirs

View File

@ -124,29 +124,6 @@ _EOF
echo "export binfmts=\"${binfmts}\"" >> $tmpf
fi
#
# Handle systemd services.
#
if [ -n "$build_option_systemd" ]; then
if [ -n "${systemd_services}" ]; then
_add_trigger systemd-service
echo "export systemd_services=\"${systemd_services}\"" >> $tmpf
fi
if [ -d ${PKGDESTDIR}/usr/lib/tmpfiles.d ]; then
for f in ${PKGDESTDIR}/usr/lib/tmpfiles.d/*; do
_tmpfiles="${_tmpfiles} $(basename $f)"
done
_add_trigger systemd-service
echo "export systemd_tmpfiles=\"${_tmpfiles}\"" >> $tmpf
fi
if [ -d ${PKGDESTDIR}/usr/lib/modules-load.d ]; then
for f in ${PKGDESTDIR}/usr/lib/modules-load.d/*; do
_mods="${_mods} $(basename $f)"
done
_add_trigger systemd-service
echo "export systemd_modules=\"${_mods}\"" >> $tmpf
fi
fi
#
# Handle GNU Info files.
#
if [ -d "${PKGDESTDIR}/usr/share/info" ]; then