aboutsummarylogtreecommitdiffstats
path: root/deepin-wine-tim.install
blob: dab83cfe487b7a166e1d106e799e58de5f1c4884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
info() {
    echo -e "\033[0;34m============================提示/INFO==============================="
    echo -e "* 常见问题及解决(Troubleshoot):"
    echo -e "  https://github.com/vufa/deepin-wine-tim-arch"
    echo -e "* 反馈问题(Report issue):"
    echo -e "  https://github.com/vufa/deepin-wine-tim-arch/issues"
    echo -e "* 安装包下载(Installation package download):"
    echo -e "  https://github.com/vufa/deepin-wine-tim-arch/releases"
    echo -e "====================================================================\033[0m"
}
post_install() {
    info
}
post_upgrade() {
    find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-TIM/reinstalled \;
}
pre_remove() {
    echo "deleting the TIM bottle..."
    find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-TIM/ \;
}