blob: ffe342548aa03b9cdea7fd02867198021cb31b0c (
plain)
1
2
3
4
5
6
7
8
9
10
|
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/ \;
}
|