Skip to content

Commit

Permalink
[eos-bash-shared] fixed eos-update
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed Jan 6, 2025
1 parent 82ffd6a commit 9635a8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eos-update
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ Main() {

CreateCmds() {
local helper2="$1"
[ "$helper2" ] || helper2=":"
cat <<EOF > "$cmdfile"
#!/bin/bash
Expand All @@ -390,7 +391,7 @@ eos_update_sudofunc() {
sudo pacman -Sy || return
${progname}-extras ${subopts[*]} || return
sudo pacman -Su || return
[ "$helper2" ] && $helper2 || return # Note: 'paru' returns 1 on error, but 'yay' does not!
$helper2 || return # Note: 'paru' returns 1 on error, but 'yay' does not!
$pacdiffer
$sync
fi
Expand Down

0 comments on commit 9635a8c

Please sign in to comment.