File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
resources/install-scripts Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ echo "Installing AppImageLauncher as interpreter for AppImages"
66
77# as there's no _real_ package that we could use as a dependency to take care of the kernel module,
88# we need to make sure that the kernel module is loaded manually
9- modprobe -v binfmt_misc
9+ modprobe -v binfmt_misc || :
1010
11- (set -x ; systemctl restart systemd-binfmt)
11+ systemctl try-restart systemd-binfmt.service || echo " ERROR: failed to execute ' systemctl try- restart systemd-binfmt.service', apply binfmt integration manually " >&2
Original file line number Diff line number Diff line change 33set -eo pipefail
44
55echo " Removing AppImageLauncher as interpreter for AppImages"
6- (set -x ; systemctl restart systemd-binfmt)
6+ systemctl try-restart systemd-binfmt.service || echo " ERROR: failed to execute ' systemctl try- restart systemd-binfmt.service', apply/remove binfmt integration manually " >&2
77
88update_notifier=" /usr/share/update-notifier/notify-reboot-required"
99if [ -x " $update_notifier " ]; then
You can’t perform that action at this time.
0 commit comments