From 90dea4ed2eac7208809a083319bef944f8f60bf9 Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 20 Apr 2023 08:06:48 +0000 Subject: [PATCH] update tool/spark-dstore-patch. Signed-off-by: shenmo --- tool/spark-dstore-patch | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/tool/spark-dstore-patch b/tool/spark-dstore-patch index 299cd13..5264328 100755 --- a/tool/spark-dstore-patch +++ b/tool/spark-dstore-patch @@ -74,7 +74,24 @@ for app in $(enumAppInfoList); do # remove broken links in /usr/share done -find /usr/share -xtype l -delete -find /etc/fonts/conf.d -xtype l -delete +find /usr/share/applications -xtype l -delete & +find /usr/share/icons -xtype l -delete & +find /usr/share/mime/packages -xtype l -delete & +find /usr/share/glib-2.0 -xtype l -delete & +find /usr/share/dbus-1/services -xtype l -delete & +find /usr/share/fcitx -xtype l -delete & +find /usr/share/help -xtype l -delete & +find /usr/share/locale -xtype l -delete & +find /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/fcitx -xtype l -delete & +find /usr/lib/mozilla/plugins -xtype l -delete & +find /usr/share/polkit-1/actions -xtype l -delete & +find /usr/share/polkit-1/fonts -xtype l -delete & +find /etc/fonts/conf.d -xtype l -delete & +update-icon-caches /usr/share/icons/* & +update-desktop-database -q & +update-mime-database -V /usr/share/mime & +glib-compile-schemas /usr/share/glib-2.0/schemas/ & + +wait echo "----------------Finished----------------"