diff options
author | ssfdust | 2017-10-13 12:58:14 +0800 |
---|---|---|
committer | ssfdust | 2017-10-13 12:58:14 +0800 |
commit | 2e830255f622af6b6b21b563e9b5b5bf85da69c4 (patch) | |
tree | d6e68b266280f684961040372609a3b1bbf22166 | |
parent | b38ce28fce86dabcffc5f0cb519340be46214244 (diff) | |
download | aur-2e830255f622af6b6b21b563e9b5b5bf85da69c4.tar.gz |
fix hook problem
-rw-r--r-- | deepin-tim-for-arch.install | 4 |
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/ \; } |