summarylogtreecommitdiffstats
path: root/notes.install
diff options
context:
space:
mode:
Diffstat (limited to 'notes.install')
-rw-r--r--notes.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/notes.install b/notes.install
index b006279c37af..9254262f4e6f 100644
--- a/notes.install
+++ b/notes.install
@@ -41,3 +41,14 @@ post_install() {
msg_modules
msg_faq
}
+
+post_upgrade() {
+ echo -e "${BOLD}Mismatching OpenTabletDriver versions between GUI and daemon isn't supported${RESET}"
+ echo -e "Restart your daemon with ${GREEN}systemctl --user restart opentabletdriver${RESET}"
+ echo
+ if [ $(vercmp $2 0.6.0-1) -lt 0 ]; then
+ echo -e "${BOLD}The plugin API and tablet configuration format has changed in OpenTabletDriver 0.6${RESET}"
+ echo -e "You may want to clear the contents of the ${GREEN}Plugins/${RESET} and ${GREEN}Configurations/${RESET} folder in ${GREEN}~/.config/OpenTabletDriver/${RESET}"
+ echo
+ fi
+}