diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2014-02-24 16:32:28 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2014-02-24 16:32:28 +0000 |
commit | 0f0919ceffc8c613132975d5f635acc5d14fe63f (patch) | |
tree | 4702c12d899dd80f90deace43f7093485c56436d /sysutils/xfce4-settings | |
parent | 159f392ebde62b4f73981e63a3b7a79d26e69774 (diff) | |
download | ports-0f0919ceffc8c613132975d5f635acc5d14fe63f.tar.gz ports-0f0919ceffc8c613132975d5f635acc5d14fe63f.zip |
Notes
Diffstat (limited to 'sysutils/xfce4-settings')
-rw-r--r-- | sysutils/xfce4-settings/files/patch-dialogs__appearance-settings__appearance-install-theme | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/xfce4-settings/files/patch-dialogs__appearance-settings__appearance-install-theme b/sysutils/xfce4-settings/files/patch-dialogs__appearance-settings__appearance-install-theme index fd49b7fd7f10..1fa8884d5194 100644 --- a/sysutils/xfce4-settings/files/patch-dialogs__appearance-settings__appearance-install-theme +++ b/sysutils/xfce4-settings/files/patch-dialogs__appearance-settings__appearance-install-theme @@ -1,5 +1,5 @@ ---- ./dialogs/appearance-settings/appearance-install-theme.orig 2013-05-05 16:12:54.000000000 +0000 -+++ ./dialogs/appearance-settings/appearance-install-theme 2013-05-05 23:09:09.000000000 +0000 +--- ./dialogs/appearance-settings/appearance-install-theme.orig 2014-02-22 23:09:05.000000000 +0000 ++++ ./dialogs/appearance-settings/appearance-install-theme 2014-02-23 18:58:38.000000000 +0000 @@ -89,7 +89,11 @@ # check file size, abort if bigger then 50Mb, only works for files @@ -7,7 +7,7 @@ - dndsize=`stat -c %s "$dndfilename"` + if test "`uname -s`" = "Linux"; then + dndsize=`stat -c %s "$dndfilename"` -+ elif test "`uname -s`" = "FreeBSD"; then ++ elif [ "`uname -s`" = "FreeBSD" ] || [ "`uname -s`" = "DragonFly" ]; then + dndsize=`stat -f %z "$dndfilename"` + fi if test "$dndsize" -gt 52428800; then |