aboutsummarylogtreecommitdiffstats
path: root/deepin-wine-wechat.install
diff options
context:
space:
mode:
Diffstat (limited to 'deepin-wine-wechat.install')
-rw-r--r--deepin-wine-wechat.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/deepin-wine-wechat.install b/deepin-wine-wechat.install
new file mode 100644
index 000000000000..5b8b1f2b7c1e
--- /dev/null
+++ b/deepin-wine-wechat.install
@@ -0,0 +1,7 @@
+post_upgrade() {
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-WeChat/reinstalled \;
+}
+pre_remove() {
+ echo "deleting the WeChat bottle..."
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-WeChat/ \;
+}