xbps-triggers: [systemd-update] register unit at post-update time.
This commit is contained in:
parent
9c0f8d48b1
commit
c71f5b085f
|
@ -88,6 +88,9 @@ Refer to the systemd documentation if more information is required.
|
|||
==========================================================================
|
||||
_EOF
|
||||
else
|
||||
# Enable the unit in case it wasn't added.
|
||||
systemctl enable ${_srv} >/dev/null 2>&1 || :
|
||||
|
||||
# package is being updated.
|
||||
if [ -n "$system_booted" ]; then
|
||||
# reload systemd if running.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.41
|
||||
version=0.42
|
||||
noarch=yes
|
||||
noextract=yes
|
||||
bootstrap=yes
|
||||
|
|
Loading…
Reference in New Issue