Strip ending / (slash) of the source when copying hicolor directory to avoid installing icons under a theme with empty name. This should unbreak expanding Icon in .desktop file by gtk_icon_theme_lookup_icon() on DragonFly and FreeBSD. |cp -R foo/ bar| == |cp -R foo/. bar| was disabled by NetBSD and OpenBSD years ago to match POSIX. Other cp(1) implementations aren't affected.
17 KiB
17 KiB