feat: add dpkg post-invoke hook
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
parent
4ffe4bf1a8
commit
f3381a4387
@ -37,3 +37,8 @@ License: CC0-1.0
|
||||
Files: tests/data/*
|
||||
Copyright: None
|
||||
License: CC0-1.0
|
||||
|
||||
# hook
|
||||
Files: misc/dpkg/dpkg.cfg.d/*
|
||||
Copyright: None
|
||||
License: CC0-1.0
|
||||
|
@ -41,3 +41,7 @@ set(DBUS_APPLICATION_MANAGER_SERVICE_FILE
|
||||
# install to session service directory for now
|
||||
install(FILES ${DBUS_APPLICATION_MANAGER_SERVICE_FILE}
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/services)
|
||||
|
||||
# install dpkg hook
|
||||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/dpkg/dpkg.cfg.d/am-update-hook
|
||||
DESTINATION /etc/dpkg/dpkg.cfg.d)
|
||||
|
1
misc/dpkg/dpkg.cfg.d/am-update-hook
Normal file
1
misc/dpkg/dpkg.cfg.d/am-update-hook
Normal file
@ -0,0 +1 @@
|
||||
post-invoke=busctl call org.desktopspec.ApplicationUpdateNotifier1 /org/desktopspec/ApplicationUpdateNotifier1 org.freedesktop.DBus.Peer Ping
|
Loading…
Reference in New Issue
Block a user