From 6ca024b6f3709af5c3f141671054fce626f32b14 Mon Sep 17 00:00:00 2001 From: shenmo Date: Mon, 9 May 2022 16:42:13 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86policy=E5=92=8Cupdate=20numbe?= =?UTF-8?q?r=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/spark-store.prerm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/spark-store.prerm b/debian/spark-store.prerm index 273d1c5..c089347 100755 --- a/debian/spark-store.prerm +++ b/debian/spark-store.prerm @@ -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 - 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 # Remove gpg key file