清理policy和update number文件

This commit is contained in:
2022-05-09 16:42:13 +00:00
committed by Gitee
parent c0ea5824b1
commit 6ca024b6f3

View File

@@ -20,9 +20,14 @@ systemctl disable spark-update-notifier
# Clean the service place file # Clean the update-number service place file if exist
if [ -d "/tmp/spark-store-updatenum/" ] ; then if [ -d "/tmp/spark-store-updatenum/" ] ; then
rm -rf /tmp/spark-store-updatenum/s rm -rf /tmp/spark-store-updatenum/
fi
# Clean the auto install polkit file if exist
if [ -f "/usr/share/polkit-1/actions/store.spark-app.ssinstall.policy" ] ; then
rm /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
fi fi
# Remove gpg key file # Remove gpg key file