Accepting request 323228 from home:AndreasSchwab:f

- fonts-config: fix use of $ENV vars

OBS-URL: https://build.opensuse.org/request/show/323228
OBS-URL: https://build.opensuse.org/package/show/M17N/fonts-config?expand=0&rev=70
This commit is contained in:
Marguerite Su 2015-08-15 18:38:39 +00:00 committed by Git OBS Bridge
parent 55243ef54b
commit 1621d4c978
3 changed files with 8 additions and 3 deletions

View File

@ -388,7 +388,7 @@ my %sysconfig_options = (
"GENERATE_JAVA_FONT_SETUP" , "OPT_JAVA",
);
my $xdg_prefix = "$HOME/.config/";
my $xdg_prefix = "$ENV{HOME}/.config/";
my %files = (
"sysconfig file", "/etc/sysconfig/fonts-config",
"user sysconfig file", "fontconfig/fonts-config",
@ -503,7 +503,7 @@ if ($OPT_REMOVE_USER_SETTING) {
}
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

View File

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