Skip to content

Commit

Permalink
[eos-bash-shared] eos-update: fix for suboption handling, thanks @Mik…
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed Dec 21, 2024
1 parent bb1182d commit 5a2d27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eos-update
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5a2d27a

Please sign in to comment.