Skip to content

Commit 9435b3b

Browse files
committed
debian: do not call mtda-systemd-helper when running in chroot
Closes: #397 Signed-off-by: Cedric Hombourger <[email protected]>
1 parent d931a29 commit 9435b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian/mtda-service.postinst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
case "$1" in
77

88
configure)
9-
/usr/sbin/mtda-systemd-helper || exit ${?}
9+
ischroot || /usr/sbin/mtda-systemd-helper || exit ${?}
1010
if ! grep -qe '^libcomposite$' /etc/modules; then
1111
echo "libcomposite" >/etc/modules || exit ${?}
1212
fi

0 commit comments

Comments
 (0)