Line
Link Here
|
0 |
-- a/scripts/xdg-utils-common.in |
0 |
++ b/scripts/xdg-utils-common.in |
Lines 62-71
Link Here
|
62 |
if [ "${desktop#*-}" != "$desktop" ]; then |
62 |
if [ "${desktop#*-}" != "$desktop" ]; then |
63 |
vendor=${desktop%-*} |
63 |
vendor=${desktop%-*} |
64 |
app=${desktop#*-} |
64 |
app=${desktop#*-} |
65 |
if [ -r $dir/applications/$vendor/$app ]; then |
65 |
if [ -r "$dir/applications/$vendor/$app" ]; then |
66 |
file_path=$dir/applications/$vendor/$app |
66 |
file_path="$dir/applications/$vendor/$app" |
67 |
elif [ -r $dir/applnk/$vendor/$app ]; then |
67 |
elif [ -r "$dir/applnk/$vendor/$app" ]; then |
68 |
file_path=$dir/applnk/$vendor/$app |
68 |
file_path="$dir/applnk/$vendor/$app" |
69 |
fi |
69 |
fi |
70 |
fi |
70 |
fi |
71 |
if test -z "$file_path" ; then |
71 |
if test -z "$file_path" ; then |