summarylogtreecommitdiffstats
path: root/xf86-input-cmt-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'xf86-input-cmt-git.install')
-rw-r--r--xf86-input-cmt-git.install27
1 files changed, 27 insertions, 0 deletions
diff --git a/xf86-input-cmt-git.install b/xf86-input-cmt-git.install
new file mode 100644
index 000000000000..32a5d9d0c4e1
--- /dev/null
+++ b/xf86-input-cmt-git.install
@@ -0,0 +1,27 @@
+
+msg_blue() {
+ printf "${blue}=>${bold} (${all_off}\n"
+}
+
+note() {
+ printf "${blue}=>${yellow} NOTE:${bold} (${all_off}\n"
+}
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${blue}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install(){
+ msg_blue "To install the correct configuration files"
+ msg_blue "for your device, run:"
+ msg_blue "# cmt-post-install install"
+ msg_blue "To make sure you can use the cmt driver also run:"
+ msg_blue "# usermod -a -G input <user>"
+ msg_blue "Where <user> is the user(s) wanting to use the touchpad."
+ note "Finished, reboot to use the driver."
+}
+
+post_upgrade() {
+ post_install
+}