mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +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: "
|
printf "%b" "Enter your choice: "
|
||||||
read -r choice
|
read -r choice
|
||||||
case $choice in
|
case $choice in
|
||||||
1) "$AUR_HELPER" -S --noconfirm linutil ;;
|
1) "$AUR_HELPER" -S --needed --noconfirm linutil ;;
|
||||||
2) "$AUR_HELPER" -S --noconfirm linutil-bin ;;
|
2) "$AUR_HELPER" -S --needed --noconfirm linutil-bin ;;
|
||||||
3) "$AUR_HELPER" -S --noconfirm linutil-git ;;
|
3) "$AUR_HELPER" -S --needed --noconfirm linutil-git ;;
|
||||||
*)
|
*)
|
||||||
printf "%b\n" "${RED}Invalid choice:${RC} $choice"
|
printf "%b\n" "${RED}Invalid choice:${RC} $choice"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user