mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
xbps-triggers: [systemd-update] register unit at post-update time.
This commit is contained in:
parent
9c0f8d48b1
commit
c71f5b085f
2 changed files with 4 additions and 1 deletions
|
@ -88,6 +88,9 @@ Refer to the systemd documentation if more information is required.
|
||||||
==========================================================================
|
==========================================================================
|
||||||
_EOF
|
_EOF
|
||||||
else
|
else
|
||||||
|
# Enable the unit in case it wasn't added.
|
||||||
|
systemctl enable ${_srv} >/dev/null 2>&1 || :
|
||||||
|
|
||||||
# package is being updated.
|
# package is being updated.
|
||||||
if [ -n "$system_booted" ]; then
|
if [ -n "$system_booted" ]; then
|
||||||
# reload systemd if running.
|
# reload systemd if running.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.41
|
version=0.42
|
||||||
noarch=yes
|
noarch=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue