mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-07 20:02:21 +08:00
update tool/spark-dstore-patch.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
8c2a10ebbc
commit
2a4d33e73f
@ -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 &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user