aboutsummarylogtreecommitdiffstats
path: root/deepin-wine-qq.install
diff options
context:
space:
mode:
authorCountStarlight2017-12-31 11:37:39 +0800
committerCountStarlight2017-12-31 11:37:39 +0800
commita17318dd833560c28e0cadd148639e57003e3db0 (patch)
treea17270c20200e9c28d97673bc3e4995de1025bbc /deepin-wine-qq.install
parent4a9793f5f8973c251049a2a05c90afa09698b3fd (diff)
downloadaur-a17318dd833560c28e0cadd148639e57003e3db0.tar.gz
init.
Signed-off-by: CountStarlight <countstarlight@gmail.com>
Diffstat (limited to 'deepin-wine-qq.install')
-rw-r--r--deepin-wine-qq.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/deepin-wine-qq.install b/deepin-wine-qq.install
new file mode 100644
index 000000000000..64cda2dbfb3f
--- /dev/null
+++ b/deepin-wine-qq.install
@@ -0,0 +1,7 @@
+post_upgrade() {
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-QQ/reinstalled \;
+}
+pre_remove() {
+ echo "deleting the TIM bottle..."
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-QQ/ \;
+}