summarylogtreecommitdiffstats
path: root/deepin-wine-danmoshui.install
diff options
context:
space:
mode:
authorzxp198210052024-01-09 08:11:28 +0800
committerzxp198210052024-01-09 08:11:28 +0800
commit83beacd2c2708424343760551b1faf3cf43cfb80 (patch)
tree546efa4714fd911c0873d82cd1b3edffe598639c /deepin-wine-danmoshui.install
parent4fa6d76f72c6ff74ec3bbcc922a1e4da910886d8 (diff)
downloadaur-83beacd2c2708424343760551b1faf3cf43cfb80.tar.gz
fix errors
Diffstat (limited to 'deepin-wine-danmoshui.install')
-rw-r--r--deepin-wine-danmoshui.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/deepin-wine-danmoshui.install b/deepin-wine-danmoshui.install
index 8ace4ceabbc5..70420768367c 100644
--- a/deepin-wine-danmoshui.install
+++ b/deepin-wine-danmoshui.install
@@ -7,10 +7,10 @@ post_install() {
info
}
post_upgrade() {
- find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-danmoshui/reinstalled \;
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/@bottlename@/reinstalled \;
info
}
pre_remove() {
- echo "deleting the danmoshui bottle..."
- find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-danmoshui/ \;
+ echo "deleting the @bottlename@ bottle..."
+ find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/@bottlename@/ \;
} \ No newline at end of file