summarylogtreecommitdiffstats
path: root/deepin-wine-quarkclouddrive.install
diff options
context:
space:
mode:
authorzxp198210052023-02-19 12:15:39 +0800
committerzxp198210052023-02-19 12:15:39 +0800
commit3a58d4a4ffe4d1622a89477d1544076b79fea036 (patch)
tree40d3dda365407554cb1cfacb884758e4a592aa06 /deepin-wine-quarkclouddrive.install
downloadaur-3a58d4a4ffe4d1622a89477d1544076b79fea036.tar.gz
the first release
Diffstat (limited to 'deepin-wine-quarkclouddrive.install')
-rw-r--r--deepin-wine-quarkclouddrive.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/deepin-wine-quarkclouddrive.install b/deepin-wine-quarkclouddrive.install
new file mode 100644
index 000000000000..a06448cf7f5c
--- /dev/null
+++ b/deepin-wine-quarkclouddrive.install
@@ -0,0 +1,16 @@
+info() {
+ echo -e "\033[0;34m============================提示/INFO==============================="
+ echo -e "此脚本主要是覆盖安装时使用,删除原有的运行及配置文件。"
+ echo -e "====================================================================\033[0m"
+}
+post_install() {
+ info
+}
+post_upgrade() {
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-QuarkCloudDrive/reinstalled \;
+ info
+}
+pre_remove() {
+ echo "deleting the douyin bottle..."
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-QuarkCloudDrive/ \;
+} \ No newline at end of file