Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
dracut.608
0172-10i18n-module-setup.sh-For-FONT_MAP-also-c...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0172-10i18n-module-setup.sh-For-FONT_MAP-also-check-wheth.patch of Package dracut.608
From caa77e59d4fc87a3eeecda91d02bd19fc08213b2 Mon Sep 17 00:00:00 2001 From: Julian Wolf <juwolf@suse.de> Date: Tue, 25 Nov 2014 14:54:33 +0100 Subject: 10i18n/module-setup.sh: For $FONT_MAP also check whether file exists without .trans ending (bnc#904533) Signed-off-by: Julian Wolf <juwolf@suse.de> --- modules.d/10i18n/module-setup.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh index f7ec0d9..b25b650 100755 --- a/modules.d/10i18n/module-setup.sh +++ b/modules.d/10i18n/module-setup.sh @@ -198,7 +198,12 @@ install() { if [[ ${FONT_MAP} ]] then FONT_MAP=${FONT_MAP%.trans} - inst_simple ${kbddir}/consoletrans/${FONT_MAP}.trans + if [ -f "${FONT_MAP}".trans ]; then + inst_simple ${kbddir}/consoletrans/${FONT_MAP}.trans + else if [ -f "$FONT_MAP" ]; then + inst_simple ${kbddir}/consoletrans/${FONT_MAP} + fi + fi fi if [[ ${FONT_UNIMAP} ]] -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor