summaryrefslogtreecommitdiff
path: root/scripts/xdg-desktop-menu.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xdg-desktop-menu.in')
-rw-r--r--scripts/xdg-desktop-menu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xdg-desktop-menu.in b/scripts/xdg-desktop-menu.in
index 8025676..08fe2a6 100644
--- a/scripts/xdg-desktop-menu.in
+++ b/scripts/xdg-desktop-menu.in
@@ -88,7 +88,7 @@ make_lazy_default()
# App already listed as default
continue;
fi
- default_file="$(readlink -f "$1/defaults.list")"
+ default_file="$(xdg_realpath "$1/defaults.list")"
if [ -f "$default_file" ] ; then
DEBUG 1 "Updating $default_file"
grep -v "$MIME=" $default_file > ${default_file}.new 2> /dev/null