Skip to content

Commit

Permalink
[#320] Installing kanto deb package fails in multi-platform docker bu…
Browse files Browse the repository at this point in the history
…ild (#321)

Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
dimitar-dimitrow authored Mar 13, 2024
1 parent d28031d commit 5ac997b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/postinst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
# Automatically added by dh_systemd_enable/12.1.1bv2019.0b1
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
deb-systemd-invoke restart 'mosquitto.service' >/dev/null || true
Expand Down
1 change: 1 addition & 0 deletions build/postrm
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
# Automatically added by dh_systemd_start/12.1.1bv2019.0b1
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
Expand Down
1 change: 1 addition & 0 deletions build/prerm
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'kanto-update-manager.service' >/dev/null || true
deb-systemd-invoke stop 'system-metrics.service' >/dev/null || true
Expand Down

0 comments on commit 5ac997b

Please sign in to comment.