summarylogtreecommitdiffstats
path: root/deepin-wine-douyin.install
diff options
context:
space:
mode:
authorzxp198210052023-02-15 10:00:28 +0800
committerzxp198210052023-02-15 10:00:28 +0800
commit644c43db4840bb826f2122598db0d3b52b406386 (patch)
tree945665ddaf6e3b1d3f7ea8a3d7377bf49fbfa3d7 /deepin-wine-douyin.install
downloadaur-644c43db4840bb826f2122598db0d3b52b406386.tar.gz
the first release
Diffstat (limited to 'deepin-wine-douyin.install')
-rw-r--r--deepin-wine-douyin.install16
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/ \;
+}