post_upgrade(){ find /home -maxdepth 2 -name ".deepinwine" -exec rm -f \{\}/Deepin-WXWork/reinstalled \; } pre_remove() { echo "deleting the WXWork bottle..." find /home -maxdepth 2 -name ".deepinwine" -exec rm -rf \{\}/Deepin-WXWork/ \; }