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