Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
update cnchi font hotfix so that it does what's intended
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Aug 23, 2016
1 parent 94cd3a3 commit c9a0ec3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dist/antergos-iso
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,12 @@ _hotfix_cnchi_polkit_policy() {
sudo systemctl restart polkit
sudo sed -r -i 's|\/usr.+ -v|pkexec /usr/share/cnchi/bin/cnchi -s bugsnag|g' '/usr/bin/cnchi'
sudo chmod +x '/usr/share/cnchi/bin/cnchi'
sudo sed -i 's|Lato|"Open Sans"|g' /usr/share/cnchi/data/css/gtk-style.css
}

_hotfix_cnchi_font_css() {
sudo sed -i \
"s| Lato| \"Open Sans\"|g;
s| 'Lato'| \"Open Sans\"|g;" /usr/share/cnchi/data/css/gtk-style.css
}


Expand All @@ -184,6 +189,7 @@ hotfix_run_when_connected() {
fi

_hotfix_ckbcomp_script_file_permissions
_hotfix_cnchi_font_css

local CHECK_UPDATES
CHECK_UPDATES=$(sudo checkupdates)
Expand Down

0 comments on commit c9a0ec3

Please sign in to comment.