diff options
author | MestreLion <linux@rodrigosilva.com> | 2015-08-26 03:23:14 -0300 |
---|---|---|
committer | Rex Dieter <rdieter@math.unl.edu> | 2015-09-16 09:59:02 -0500 |
commit | 679c72d1432df229e08b0dbe02a67f0bb28039cc (patch) | |
tree | 3ac45099d2bce41a629fdf4e28d36dca3e04bb99 | |
parent | 64f50419b4725394e301c38680b93f01006dc01c (diff) |
xdg-icon-resource: does not support filenames with spaces (BR91758)
-rw-r--r-- | scripts/xdg-icon-resource.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xdg-icon-resource.in b/scripts/xdg-icon-resource.in index be1ad58..3ad1bc4 100644 --- a/scripts/xdg-icon-resource.in +++ b/scripts/xdg-icon-resource.in @@ -394,7 +394,7 @@ icon_icon_file=`echo "$icon_file" | sed 's/\.[a-z][a-z][a-z]$/.icon/'` icon_icon_name="$icon_name.icon" DEBUG 1 "$action icon in $xdg_dir" -[ $action = "install" ] && [ -f $icon_icon_file ] && DEBUG 1 "install $icon_icon_name meta file in $xdg_dir" +[ $action = "install" ] && [ -f "$icon_icon_file" ] && DEBUG 1 "install $icon_icon_name meta file in $xdg_dir" [ -n "$kde_dir" ] && DEBUG 1 "$action symlink in $kde_dir (KDE 3.x support)" [ -n "$need_gnome_mime" ] && DEBUG 1 "$action gnome-mime-$icon_name symlink (GNOME 2.x support)" [ $action = "install" -a -n "$dot_icon_dir" ] && DEBUG 1 "$action ~/.icons symlink (GNOME 2.8 support)" |