From e69d09572b5ba40cc4cdfe794bd230a8c47a0939 Mon Sep 17 00:00:00 2001 From: Dustin Falgout Date: Thu, 20 Sep 2018 02:09:02 -0500 Subject: [PATCH] fix broken auto update for cnchi. fix incorrect args passed to pacman. fix missing sudo usage. --- dist/antergos-iso | 6 ++++-- iso-hotfix-utility | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dist/antergos-iso b/dist/antergos-iso index 2a00408..972468b 100644 --- a/dist/antergos-iso +++ b/dist/antergos-iso @@ -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}" @@ -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 } @@ -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 diff --git a/iso-hotfix-utility b/iso-hotfix-utility index 20837d9..c728fbb 100644 --- a/iso-hotfix-utility +++ b/iso-hotfix-utility @@ -2,7 +2,7 @@ # # iso-hotfix-utility # -# Copyright © 2013-2016 Antergos +# Copyright © 2013-2018 Antergos # # This file is part of iso-hotfix-utility. #