]>
git.proxmox.com Git - systemd.git/commitdiff
projects
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d4b341
)
systemd-boot: update on package upgrade, if installed
author
Luca Boccassi
<bluca@debian.org>
Sun, 12 Feb 2023 12:44:56 +0000
(12:44 +0000)
committer
Luca Boccassi
<bluca@debian.org>
Tue, 14 Feb 2023 15:34:31 +0000
(15:34 +0000)
debian/systemd-boot.postinst
[new file with mode: 0644]
patch
|
blob
diff --git a/debian/systemd-boot.postinst
b/debian/systemd-boot.postinst
new file mode 100644
(file)
index 0000000..
77803ab
--- /dev/null
+++ b/
debian/systemd-boot.postinst
@@ -0,0
+1,9
@@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = configure ] && [ -n "$2" ] && bootctl is-installed --quiet; then
+ bootctl update --graceful
+fi
+
+#DEBHELPER#