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

Commit

Permalink
fix broken auto update for cnchi. fix incorrect args passed to pacman…
Browse files Browse the repository at this point in the history
…. fix missing sudo usage.
  • Loading branch information
lots0logs committed Sep 20, 2018
1 parent c7e0fd1 commit e69d095
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions dist/antergos-iso
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fi
pac() {
local exit_status

sudo pacman "$1" --noconfirm --force --needed "${@:2}"
sudo pacman "$1" --noconfirm --overwrite --needed "${@:2}"
exit_status="$?"

_2log "pac() ran with args: $*. Exit status was: ${exit_status}"
Expand Down Expand Up @@ -175,7 +175,7 @@ _hotfix_gtk_theme_for_root() {


_hotfix_enable_multilib_repo() {
sed -i 's|#[multilib]|[multilib]\nInclude = /etc/pacman.d/mirrorlist|g' /etc/pacman.conf
sudo sed -i 's|#[multilib]|[multilib]\nInclude = /etc/pacman.d/mirrorlist|g' /etc/pacman.conf
}


Expand All @@ -188,6 +188,8 @@ hotfix_run_when_connected() {
sudo modprobe -a spl zfs
fi

pac -S pacman-contrib

_hotfix_ckbcomp_script_file_permissions
_hotfix_gtk_theme_for_root

Expand Down
2 changes: 1 addition & 1 deletion iso-hotfix-utility
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# iso-hotfix-utility
#
# Copyright © 2013-2016 Antergos
# Copyright © 2013-2018 Antergos
#
# This file is part of iso-hotfix-utility.
#
Expand Down

0 comments on commit e69d095

Please sign in to comment.