Dominique Leuenberger 2015-08-19 11:41:04 +00:00 committed by Git OBS Bridge
commit b663848229
3 changed files with 8 additions and 3 deletions

View File

@ -388,7 +388,7 @@ my %sysconfig_options = (
"GENERATE_JAVA_FONT_SETUP" , "OPT_JAVA", "GENERATE_JAVA_FONT_SETUP" , "OPT_JAVA",
); );
my $xdg_prefix = "$HOME/.config/"; my $xdg_prefix = "$ENV{HOME}/.config/";
my %files = ( my %files = (
"sysconfig file", "/etc/sysconfig/fonts-config", "sysconfig file", "/etc/sysconfig/fonts-config",
"user sysconfig file", "fontconfig/fonts-config", "user sysconfig file", "fontconfig/fonts-config",
@ -503,7 +503,7 @@ if ($OPT_REMOVE_USER_SETTING) {
} }
if ($VERBOSITY >= $VERBOSITY_DEBUG) { if ($VERBOSITY >= $VERBOSITY_DEBUG) {
print $OPT_USER ? "USER mode ($USER)\n" : "SYSTEM mode\n"; print $OPT_USER ? "USER mode ($ENV{USER})\n" : "SYSTEM mode\n";
} }
# #

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 14 21:40:04 UTC 2015 - schwab@linux-m68k.org
- fonts-config: fix use of $ENV vars
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 24 08:20:24 UTC 2015 - pgajdos@suse.com Fri Apr 24 08:20:24 UTC 2015 - pgajdos@suse.com

View File

@ -22,9 +22,9 @@ Name: fonts-config
Version: 20150424 Version: 20150424
Release: 0 Release: 0
Summary: Configures Fonts for X Windows and other applications Summary: Configures Fonts for X Windows and other applications
# MIT for infinality
License: GPL-2.0+ and MIT License: GPL-2.0+ and MIT
Group: System/X11/Fonts Group: System/X11/Fonts
# MIT for infinality
Source0: fonts-config Source0: fonts-config
Source1: sysconfig.fonts-config Source1: sysconfig.fonts-config
Source2: fontconfig.SuSE.properties.template Source2: fontconfig.SuSE.properties.template