update tool/spark-dstore-patch.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2023-04-20 08:23:53 +00:00 committed by Gitee
parent 8c2a10ebbc
commit 2a4d33e73f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -66,14 +66,14 @@ linkApp() {
# execute linkApp function for each app and print output
for app in $(enumAppInfoList); do
linkApp "$app"
linkApp "$app" &
if [ "$1" = "--debug" ]; then
echo "Linking complete for $app"
echo "Linking for $app"
fi
# remove broken links in /usr/share
done
wait
find /usr/share/applications -xtype l -delete > /dev/null 2>&1 &
find /usr/share/icons -xtype l -delete > /dev/null 2>&1 &