update tool/spark-dstore-patch.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2023-04-20 08:06:48 +00:00 committed by Gitee
parent 06ca1b7a97
commit 90dea4ed2e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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----------------"