projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout support pour archives xz, et ajout fonction pour vérifier qu'on est bien l...
[hvlinux.git]
/
stage4
/
configure-fonts
diff --git
a/stage4/configure-fonts
b/stage4/configure-fonts
index
cfc35b3
..
7673a20
100755
(executable)
--- a/
stage4/configure-fonts
+++ b/
stage4/configure-fonts
@@
-11,9
+11,10
@@
ln -svfT /usr/lib/X11/fonts/TTF /usr/share/fonts/X11-TTF
X11_FONTS_DIR="/usr/share/fonts/X11"
X11_FONTS_DIR="/usr/share/fonts/X11"
-if ! grep
"${X11_FONTS_DIR}" /etc/fonts/local.conf 1> /dev/null 2>&1
; then
+if ! grep
-q "${X11_FONTS_DIR}" /etc/fonts/local.conf
; then
# Adding X fonts directory to local configuration file
# Adding X fonts directory to local configuration file
- sed -i -e "s!\(</fontconfig>\)! <dir>${X11_FONTS_DIR}</dir>\n\1!" /etc/fonts/local.conf
+ sed -i -e "s!\(</fontconfig>\)! <dir>${X11_FONTS_DIR}</dir>\n\1!" \
+ /etc/fonts/local.conf
fi
# Updating cache database.
fi
# Updating cache database.