summarylogtreecommitdiffstats
path: root/xf86-input-cmt-git.install
blob: 32a5d9d0c4e1cd135826eb77cbb99404c0785329 (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} (${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            
}