summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamLukeYes2020-07-31 10:39:32 +0800
committerSamLukeYes2020-07-31 10:39:32 +0800
commit19c11086a6fc7245ecd2f26aeecfc6f47227202d (patch)
treec3ae944a78b17cbcfe0305fc544026088cd62a49
parent0da1ee8673f37e5d78e5d0ef30b489c91a5ee4f8 (diff)
downloadaur-19c11086a6fc7245ecd2f26aeecfc6f47227202d.tar.gz
no longer remove bottles after an upgrade
-rw-r--r--wechat.install9
1 files changed, 6 insertions, 3 deletions
diff --git a/wechat.install b/wechat.install
index 0c51d32556e..fb6cd509605 100644
--- a/wechat.install
+++ b/wechat.install
@@ -1,7 +1,10 @@
post_upgrade() {
- echo "Deleting existing WeChat bottles..."
- find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/DCS-WeChat/ \;
+ echo
+ echo "If WeChat doesn't work after an upgrade, try removing ~/.deepinwine/DCS-WeChat and start it again."
+ echo
}
+
post_remove() {
- post_upgrade
+ echo "Deleting existing WeChat bottles..."
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/DCS-WeChat/ \;
} \ No newline at end of file