blob: 9c531922404c1115c2738fcad50dc83bd487978a (
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
27
|
msg_blue() {
printf "${blue}=>${bold} $1${all_off}\n"
}
note() {
printf "${blue}=>${yellow} NOTE:${bold} $1${all_off}\n"
}
all_off="$(tput sgr0)"
bold="${all_off}$(tput bold)"
blue="${blue}$(tput setaf 4)"
yellow="${bold}$(tput setaf 3)"
post_install(){
curl https://raw.githubusercontent.com/joebonrichie/xf86-input-cmt-conf/master/cmt-post-install.sh | sudo sh
note "IMPORTANT:"
note "After reboot, if the touchpad does not work for any reason, run:"
note "# usermod -a -G input <user>"
note "and reboot"
note "Thanks to templrivanho for the fix.\n"
msg_blue "Finished"
}
post_upgrade() {
post_install
}
|