修改卸载脚本:非纯净卸载软件包时,保留开发环境快速部署log信息

Change-Id: I8a2e2a42a120a0ee94e883712accfc83f9a6065e
This commit is contained in:
dinglili 2024-08-19 10:08:24 +08:00 committed by wangpenglong
parent 293bb1c5f6
commit de1b20dd1f
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
rm -f /usr/bin/@@NAME@@ rm -f /usr/bin/@@NAME@@
if [ -d /home/${SUDO_USER}/.config/Kylin-Code/installconfig ]; then if [ -d /home/${SUDO_USER}/.config/Kylin-Code/installconfig ]; then
rm -rf /home/${SUDO_USER}/.config/Kylin-Code/installconfig find "/home/${SUDO_USER}/.config/Kylin-Code/installconfig" -mindepth 1 -maxdepth 1 ! -name 'log' -exec rm -rf {} +
fi fi
# Update mimetype database for removed workspace mimetype # Update mimetype database for removed workspace mimetype