summarylogtreecommitdiffstats
path: root/h7toolpc-wine.install
blob: 0848f6bd33029d5e5bb88d8f829955bd3aaf14bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# h7toolpc-wine.install
info() {
    echo -e "Wine H7-TOOL 的 PC 上位机,支持串口、CAN、示波器、CMSIS-DAP、DS18B20、RTT Viewer、脱机烧录等"
    echo -e "非 root 用户需要将用户添加到 uucp 用户组:"
    echo -e "  sudo gpasswd -a \$USER uucp"
}
post_install() {
    info
}
post_upgrade() {
    echo "deleting the h7toolpc bottle..."
    find /home -maxdepth 2 -name ".h7toolpc" -exec rm -rf {} \;
    info
}
pre_remove() {
    echo "deleting the h7toolpc bottle..."
    find /home -maxdepth 2 -name ".h7toolpc" -exec rm -rf {} \;
}