mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 21:09:42 +00:00
use --needed so reinstalls dont happen (#647)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
parent
d922017068
commit
adb838c729
|
@ -15,9 +15,9 @@ installLinutil() {
|
|||
printf "%b" "Enter your choice: "
|
||||
read -r choice
|
||||
case $choice in
|
||||
1) "$AUR_HELPER" -S --noconfirm linutil ;;
|
||||
2) "$AUR_HELPER" -S --noconfirm linutil-bin ;;
|
||||
3) "$AUR_HELPER" -S --noconfirm linutil-git ;;
|
||||
1) "$AUR_HELPER" -S --needed --noconfirm linutil ;;
|
||||
2) "$AUR_HELPER" -S --needed --noconfirm linutil-bin ;;
|
||||
3) "$AUR_HELPER" -S --needed --noconfirm linutil-git ;;
|
||||
*)
|
||||
printf "%b\n" "${RED}Invalid choice:${RC} $choice"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user