-
Notifications
You must be signed in to change notification settings - Fork 319
Expand file tree
/
Copy pathpost-uninstall.in
More file actions
executable file
·24 lines (20 loc) · 952 Bytes
/
post-uninstall.in
File metadata and controls
executable file
·24 lines (20 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /bin/bash
set -eo pipefail
echo "Removing AppImageLauncher as interpreter for AppImages"
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
"$update_notifier"
fi
cat <<EOF
#####################################################
# #
# NOTE: you need to reboot your computer in order #
# to complete the uninstallation #
# #
# (If you see this message during an upgrade: #
# don't worry, you do not have to take any #
# action, no reboot required!) #
# #
#####################################################
EOF