summarylogtreecommitdiffstats
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.install6
1 files changed, 0 insertions, 6 deletions
diff --git a/deepin-tim-for-arch.install b/deepin-tim-for-arch.install
index ffe342548aa0..e612b06a5eed 100644
--- a/deepin-tim-for-arch.install
+++ b/deepin-tim-for-arch.install
@@ -1,9 +1,3 @@
-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() {
echo "deleting the TIM bottle..."
find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-TIM/ \;