From 5a2d27ad17d889db8e7200ec36a523ae9eb5f5cf Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 21 Dec 2024 12:52:58 +0200 Subject: [PATCH] [eos-bash-shared] eos-update: fix for suboption handling, thanks @MikaMika --- eos-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eos-update b/eos-update index 2769173..ab7de67 100755 --- a/eos-update +++ b/eos-update @@ -374,7 +374,7 @@ eos_update_sudofunc() { rm -$rmopt $lock if [ ! -e $lock ] ; then pacman -Sy || return - ${progname}-extras "${subopts[@]}" || return + ${progname}-extras ${subopts[*]} || return pacman -Su || return $pacdiffer $sync @@ -393,7 +393,7 @@ eos_update_sudofunc() { rm -$rmopt $lock if [ ! -e $lock ] ; then pacman -Sy || return - ${progname}-extras "${subopts[@]}" || return + ${progname}-extras ${subopts[*]} || return pacman -Su || return $helper2 || return # Note: 'paru' returns 1 on error, but 'yay' does not! $pacdiffer