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"
6
6
7
7
# as there's no _real_ package that we could use as a dependency to take care of the kernel module,
8
8
# we need to make sure that the kernel module is loaded manually
9
- modprobe -v binfmt_misc
9
+ modprobe -v binfmt_misc || :
10
10
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 3
3
set -eo pipefail
4
4
5
5
echo " 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
7
7
8
8
update_notifier=" /usr/share/update-notifier/notify-reboot-required"
9
9
if [ -x " $update_notifier " ]; then
You can’t perform that action at this time.
0 commit comments