Created attachment 5929 Patch to support BSD system in dialogs/appearance-settings/appearance-install-theme On BSD systems, '-c' option doesn't exist in stat command, it's '-f' option.
Created attachment 5932 Support BSD systems in dialogs/appearance-settings/appearance-install-theme
Can't test that patch, though could you please clarify if the -c option is specific to Linux, or if it's commonly used across POSIX systems? If it's commonly used (and if indeed BSD is the "different" one), then you should test for all flavours of BSD instead of testing for flavours of Linux. Otherwise this might break on Solaris / HP AIX / <insert obscure flavour even the maintainers are unaware of> systems.
Created attachment 5943 Patch to support BSD system in dialogs/appearance-settings/appearance-install-theme On BSD systems (see FreeBSD [1], NetBSD [2], and OpenBSD [3] man pages), -c option doesn't exist, it's -f. I don't know for others systems except Linux. Note: DragonFly is FreeBSD fork, so same command. [1] https://www.freebsd.org/cgi/man.cgi?query=stat&manpath=FreeBSD+10.1-RELEASE [2] http://netbsd.gw.com/cgi-bin/man-cgi?stat++NetBSD-current [3] http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/stat.1?query=stat
Great, thanks Olivier! Adding this to the list of patches to commit.
Applied at http://git.xfce.org/xfce/xfce4-settings/commit/?id=4df7dbd3e50f08d2e039a1cb36733a7dfef0a245 Thanks for the patch! This will be included in the upcoming xfce4-settings 4.11.4