diff options
author | zxp19821005 | 2023-02-19 12:15:39 +0800 |
---|---|---|
committer | zxp19821005 | 2023-02-19 12:15:39 +0800 |
commit | 3a58d4a4ffe4d1622a89477d1544076b79fea036 (patch) | |
tree | 40d3dda365407554cb1cfacb884758e4a592aa06 /deepin-wine-quarkclouddrive.install | |
download | aur-3a58d4a4ffe4d1622a89477d1544076b79fea036.tar.gz |
the first release
Diffstat (limited to 'deepin-wine-quarkclouddrive.install')
-rw-r--r-- | deepin-wine-quarkclouddrive.install | 16 |
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 |