mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
清理policy和update number文件
This commit is contained in:
9
debian/spark-store.prerm
vendored
9
debian/spark-store.prerm
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user