summarylogtreecommitdiffstats
path: root/stcai-isp-tiny-wine.install
blob: 81ec9eb204b350b82554345d849b74092a7f1a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
info() {
    echo -e "STCAI-ISP-TINY 下载编程烧录软件"
    echo -e "非 root 用户需要将用户添加到 uucp 用户组:"
    echo -e "sudo gpasswd -a \$USER uucp"
}
post_install() {
    info
}
post_upgrade() {
    echo "deleting the stcai-isp-tiny bottle..."
    find /home -maxdepth 2 -name ".stcai-isp-tiny" -exec rm -rf {} \;
    info
}
pre_remove() {
    echo "deleting the stcai-isp-tiny bottle..."
    find /home -maxdepth 2 -name ".stcai-isp-tiny" -exec rm -rf {} \;
}