aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deepin-tim-for-arch.install4
1 files changed, 3 insertions, 1 deletions
diff --git a/deepin-tim-for-arch.install b/deepin-tim-for-arch.install
index 9bfc53ff1766..a57663c164ce 100644
--- a/deepin-tim-for-arch.install
+++ b/deepin-tim-for-arch.install
@@ -4,9 +4,11 @@ post_install() {
post_upgrade() {
new_tim_version=$(echo $1 | sed "s/-.*//")
+ echo "Updating the TIM package version..."
find /home -maxdepth 2 -name ".deepinwine" -exec sed -i "s/.*/$new_tim_version/" \{\}/Deepin-TIM/PACKAGE_VERSION \;
}
pre_remove() {
- find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\} \;
+ echo "deleting the TIM bottle..."
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-TIM/ \;
}