blob: f1d5f9284d54b0a6017402792d169b8c4fc4f51e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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 "Setting up correct configuration files"
sudo cmt-conf-setup install
msg_blue "To make sure you can use the cmt driver 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
}
|