mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-15 13:22:04 +08:00
update tool/spark-dstore-patch.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
@@ -66,14 +66,14 @@ linkApp() {
|
|||||||
|
|
||||||
# execute linkApp function for each app and print output
|
# execute linkApp function for each app and print output
|
||||||
for app in $(enumAppInfoList); do
|
for app in $(enumAppInfoList); do
|
||||||
linkApp "$app"
|
linkApp "$app" &
|
||||||
|
|
||||||
if [ "$1" = "--debug" ]; then
|
if [ "$1" = "--debug" ]; then
|
||||||
echo "Linking complete for $app"
|
echo "Linking for $app"
|
||||||
fi
|
fi
|
||||||
# remove broken links in /usr/share
|
# remove broken links in /usr/share
|
||||||
|
|
||||||
done
|
done
|
||||||
|
wait
|
||||||
|
|
||||||
find /usr/share/applications -xtype l -delete > /dev/null 2>&1 &
|
find /usr/share/applications -xtype l -delete > /dev/null 2>&1 &
|
||||||
find /usr/share/icons -xtype l -delete > /dev/null 2>&1 &
|
find /usr/share/icons -xtype l -delete > /dev/null 2>&1 &
|
||||||
|
|||||||
Reference in New Issue
Block a user