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

Commit

Permalink
remove hotfixes that have been implemented in sources
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Sep 25, 2016
1 parent a0a8e66 commit af3794c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions dist/antergos-iso
Original file line number Diff line number Diff line change
Expand Up @@ -165,23 +165,10 @@ _hotfix_ckbcomp_script_file_permissions() {
local _file
_file='/usr/share/cnchi/scripts/ckbcomp'
[[ -x "${_file}" ]] || { _2log "${_file} is not executable! fixing..."; sudo chmod +x "${_file}"; }
}


_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'
}


_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
}


_hotfix_gtk_theme_for_root() {
sudo cp -R /home/antergos/.config /root
}
Expand All @@ -195,7 +182,6 @@ hotfix_run_when_connected() {
fi

_hotfix_ckbcomp_script_file_permissions
_hotfix_cnchi_font_css
_hotfix_gtk_theme_for_root

local CHECK_UPDATES
Expand All @@ -209,8 +195,6 @@ hotfix_run_when_connected() {
notify_no_updates
fi

_hotfix_cnchi_polkit_policy

[[ -f /tmp/.setup-running ]] || start_cnchi
sleep 5 && notify-send.sh -s "${LAST_SENT}"
}
Expand Down

0 comments on commit af3794c

Please sign in to comment.