summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman/pacman.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/pacman/pacman.install')
-rw-r--r--abs/core/pacman/pacman.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/abs/core/pacman/pacman.install b/abs/core/pacman/pacman.install
index 487819a..42b2808 100644
--- a/abs/core/pacman/pacman.install
+++ b/abs/core/pacman/pacman.install
@@ -12,6 +12,8 @@ post_upgrade() {
if [ ! -f "etc/pacman.d/gnupg/pubring.gpg" ] || [ "$(vercmp $2 4.0.3-2)" -lt 0 ]; then
_check_pubring
fi
+ sed -i '/^# If upgrades are available/d' /etc/pacman.conf
+ sed -i '/^SyncFirst/d' /etc/pacman.conf
}
post_install() {