change font
This commit is contained in:
parent
bc0b352386
commit
e1039049b8
|
@ -24,24 +24,24 @@ export PATH="${PATH}:$S/bin:$S/xbin"
|
|||
|
||||
list_files() {
|
||||
cat <<EOF
|
||||
fonts/Lato-Black.ttf
|
||||
fonts/Lato-BlackItalic.ttf
|
||||
fonts/Lato-Bold.ttf
|
||||
fonts/Lato-BoldItalic.ttf
|
||||
fonts/Lato-Hairline.ttf
|
||||
fonts/Lato-HairlineItalic.ttf
|
||||
fonts/Lato-Heavy.ttf
|
||||
fonts/Lato-HeavyItalic.ttf
|
||||
fonts/Lato-Italic.ttf
|
||||
fonts/Lato-Light.ttf
|
||||
fonts/Lato-LightItalic.ttf
|
||||
fonts/Lato-Medium.ttf
|
||||
fonts/Lato-MediumItalic.ttf
|
||||
fonts/Lato-Regular.ttf
|
||||
fonts/Lato-Semibold.ttf
|
||||
fonts/Lato-SemiboldItalic.ttf
|
||||
fonts/Lato-Thin.ttf
|
||||
fonts/Lato-ThinItalic.ttf
|
||||
fonts/IBMPlexSans-Black.ttf
|
||||
fonts/IBMPlexSans-BlackItalic.ttf
|
||||
fonts/IBMPlexSans-Bold.ttf
|
||||
fonts/IBMPlexSans-BoldItalic.ttf
|
||||
fonts/IBMPlexSans-Hairline.ttf
|
||||
fonts/IBMPlexSans-HairlineItalic.ttf
|
||||
fonts/IBMPlexSans-Heavy.ttf
|
||||
fonts/IBMPlexSans-HeavyItalic.ttf
|
||||
fonts/IBMPlexSans-Italic.ttf
|
||||
fonts/IBMPlexSans-Light.ttf
|
||||
fonts/IBMPlexSans-LightItalic.ttf
|
||||
fonts/IBMPlexSans-Medium.ttf
|
||||
fonts/IBMPlexSans-MediumItalic.ttf
|
||||
fonts/IBMPlexSans-Regular.ttf
|
||||
fonts/IBMPlexSans-Semibold.ttf
|
||||
fonts/IBMPlexSans-SemiboldItalic.ttf
|
||||
fonts/IBMPlexSans-Thin.ttf
|
||||
fonts/IBMPlexSans-ThinItalic.ttf
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -69,8 +69,8 @@ case "$1" in
|
|||
;;
|
||||
post-restore)
|
||||
# update fonts.xml
|
||||
cp "$SYS/etc/fonts.xml" "$SYS/etc/fonts.xml.bak"
|
||||
sed -i -e "s/Roboto-/Lato-/g" \
|
||||
cp -p "$SYS/etc/fonts.xml" "$SYS/etc/fonts.xml.bak"
|
||||
sed -i -e "s/Roboto-/IBMPlexSans-/g" \
|
||||
"$SYS/etc/fonts.xml"
|
||||
# Fix ownership/permissions
|
||||
for i in $(list_files); do
|
||||
|
|
1
dist-font/cm-data/IBMPlexSans/.uuid
Normal file
1
dist-font/cm-data/IBMPlexSans/.uuid
Normal file
|
@ -0,0 +1 @@
|
|||
db0429c8-b4b1-4467-9896-c04eaba7b86e
|
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Bold.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Bold.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-BoldItalic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLight.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLightItalic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ExtraLightItalic.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Italic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Italic.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Light.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Light.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-LightItalic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-LightItalic.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Medium.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Medium.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-MediumItalic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Regular.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Regular.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBold.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBold.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-SemiBoldItalic.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Text.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Text.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-TextItalic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-TextItalic.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Thin.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-Thin.ttf
Normal file
Binary file not shown.
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ThinItalic.ttf
Normal file
BIN
dist-font/cm-data/IBMPlexSans/IBMPlexSans-ThinItalic.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -10,9 +10,9 @@ export PATH="${PATH}:${SYSTEM}/bin:${SYSTEM}/xbin"
|
|||
|
||||
# install iptables script
|
||||
echo "Installing font"
|
||||
cp cm-data/lato/Lato*.ttf ${SYSTEM}/fonts/
|
||||
chown root:root ${SYSTEM}/fonts/Lato*.ttf
|
||||
chmod 750 ${SYSTEM}/fonts/Lato*.ttf
|
||||
cp cm-data/IBMPlexSans/IBMPlexSans*.ttf ${SYSTEM}/fonts/
|
||||
chown root:root ${SYSTEM}/fonts/IBMPlexSans*.ttf
|
||||
chmod 750 ${SYSTEM}/fonts/IBMPlexSans*.ttf
|
||||
|
||||
# install restore script
|
||||
echo "Installing restore script"
|
||||
|
|
Loading…
Reference in a new issue