Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions resources/install-scripts/post-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ echo "Installing AppImageLauncher as interpreter for AppImages"

# as there's no _real_ package that we could use as a dependency to take care of the kernel module,
# we need to make sure that the kernel module is loaded manually
modprobe -v binfmt_misc
modprobe -v binfmt_misc || :

(set -x; systemctl restart systemd-binfmt)
systemctl try-restart systemd-binfmt.service || echo "ERROR: failed to execute 'systemctl try-restart systemd-binfmt.service', apply binfmt integration manually" >&2
2 changes: 1 addition & 1 deletion resources/install-scripts/post-uninstall.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eo pipefail

echo "Removing AppImageLauncher as interpreter for AppImages"
(set -x; systemctl restart systemd-binfmt)
systemctl try-restart systemd-binfmt.service || echo "ERROR: failed to execute 'systemctl try-restart systemd-binfmt.service', apply/remove binfmt integration manually" >&2

update_notifier="/usr/share/update-notifier/notify-reboot-required"
if [ -x "$update_notifier" ]; then
Expand Down