summarylogtreecommitdiffstats
path: root/deepin-wine-baiduwenku.install
blob: 4bfd50ef409389140d5d537024f2fbb1c5095f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
info() {
    echo -e "\033[0;34m============================提示/INFO==============================="
    echo -e "此脚本主要是覆盖安装时使用,删除原有的运行及配置文件。"
    echo -e "====================================================================\033[0m"
}
post_install() {
    info
}
post_upgrade() {
    find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-BaiduWenku/reinstalled \;
    info
}
pre_remove() {
    echo "deleting the Deepin-BaiduWenku bottle..."
    find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-BaiduWenku/ \;
}