projects
/
invirt/packages/invirt-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add code to invirt-reload to de-duplicate multiple invocations. (LP: #439426)
[invirt/packages/invirt-base.git]
/
debian
/
invirt-base.postinst
diff --git
a/debian/invirt-base.postinst
b/debian/invirt-base.postinst
index
a2ae96f
..
73ea19b
100755
(executable)
--- a/
debian/invirt-base.postinst
+++ b/
debian/invirt-base.postinst
@@
-26,7
+26,11
@@
case "$1" in
;;
triggered)
- invirt-reload
+ if dpkg --compare-versions "$DPKG_RUNNING_VERSION" ge '1.14.5ubuntu10~~'; then
+ invirt-reload
+ else
+ DPKG_MAINTSCRIPT_PACKAGE='' invirt-reload
+ fi
;;
*)