Skip to content

Commit

Permalink
debian: do not call mtda-systemd-helper when running in chroot
Browse files Browse the repository at this point in the history
Closes: #397
Signed-off-by: Cedric Hombourger <[email protected]>
  • Loading branch information
chombourger committed Feb 14, 2024
1 parent d931a29 commit 57c8b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/mtda-service.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
case "$1" in

configure)
/usr/sbin/mtda-systemd-helper || exit ${?}
ischroot || /usr/sbin/mtda-systemd-helper || exit ${?}
if ! grep -qe '^libcomposite$' /etc/modules; then
echo "libcomposite" >/etc/modules || exit ${?}
fi
Expand Down

0 comments on commit 57c8b99

Please sign in to comment.