summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorssfdust2017-10-13 17:31:00 +0800
committerssfdust2017-10-13 17:31:00 +0800
commita6f4c3abd70d7deb68d1b67bc1cf0bfe8883aa2d (patch)
tree26c9c27bd4e6d7b49f90a54d73bfbc6f3d53f763
parent1d8783893b27480b3d4d0d7e3cb1fa6cc02b0d73 (diff)
downloadaur-a6f4c3abd70d7deb68d1b67bc1cf0bfe8883aa2d.tar.gz
delete post_upgrade section
-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/ \;