更新时不再清除免密码安装设置

This commit is contained in:
2022-09-30 11:27:22 +08:00
parent 30f36ff35d
commit 30860802dd
3 changed files with 15 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/sh
if [ "$1" = "remove" ] || [ "$1" = "purge" ];then
# Remove residual symbol links
rm /usr/local/bin/spark-store
rm /usr/local/bin/ssinstall
@@ -39,3 +40,8 @@ fi
apt-key del '9D9A A859 F750 24B1 A1EC E16E 0E41 D354 A29A 440C'
else
echo "非卸载操作,不进行配置清理"
fi