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

Commit

Permalink
all commits up until this point make up what fixes Antergos/antergos-…
Browse files Browse the repository at this point in the history
  • Loading branch information
lots0logs committed Jun 17, 2016
1 parent 36111a5 commit 3b6e6b6
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions iso-hotfix-utility
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ font_patch() {
if [[ 'True' = "${clear_fcache}" ]]; then
sudo fc-cache -f -v
fi

}


Expand All @@ -134,12 +133,6 @@ start_cnchi() {
}


notify_no_updates() {
notify_user "${NO_UPDATES_CN}" "${NO_UPDATES_CN_SUB}"
sudo sed -i '1d' /etc/pacman.d/antergos-mirrorlist
}


wait_for_internet_connection() {
if [[ "${NETWORK_ALIVE}" != 0 ]]; then
start_cnchi
Expand Down Expand Up @@ -169,6 +162,12 @@ add_or_remove_antbs_mirrorlist() {
}


notify_no_updates() {
notify_user "${NO_UPDATES_CN}" "${NO_UPDATES_CN_SUB}"
add_or_remove_antbs_mirrorlist 'remove'
}


populate_pacman_keyring() {
{ packey_populate && return 0; } || \
{ packey_init && packey_populate && return 0; } || \
Expand Down Expand Up @@ -227,6 +226,11 @@ run_when_connected() {
##
###

for supplemental_file in /etc/iso-hotfix-utility.d/**
do
source "${supplemental_file}"
done

if [[ "$1" = cnchi-dev ]]; then
sudo rm -rf /usr/share/cnchi
sudo git clone https://github.com/lots0logs/cnchi-dev.git /usr/share/cnchi
Expand Down

0 comments on commit 3b6e6b6

Please sign in to comment.