aboutsummarylogtreecommitdiffstats
path: root/deepin-tim-for-arch.install
diff options
context:
space:
mode:
Diffstat (limited to 'deepin-tim-for-arch.install')
-rw-r--r--deepin-tim-for-arch.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/deepin-tim-for-arch.install b/deepin-tim-for-arch.install
index e612b06a5eed..76a1ddf51b13 100644
--- a/deepin-tim-for-arch.install
+++ b/deepin-tim-for-arch.install
@@ -1,3 +1,6 @@
+post_upgrade() {
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-TIM/reinstalled \;
+}
pre_remove() {
echo "deleting the TIM bottle..."
find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-TIM/ \;