diff options
Diffstat (limited to 'deepin-wine-douyin.install')
-rw-r--r-- | deepin-wine-douyin.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/deepin-wine-douyin.install b/deepin-wine-douyin.install new file mode 100644 index 000000000000..65d6d6bd0a9e --- /dev/null +++ b/deepin-wine-douyin.install @@ -0,0 +1,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 \{\}/Spark-douyin/reinstalled \; + info +} +pre_remove() { + echo "deleting the WeChat bottle..." + find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Spark-douyin/ \; +} |