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