Install AUR packages if its available
This commit is contained in:
parent
57b1180c67
commit
38d9961622
@ -1,14 +1,24 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
if curl -sf --connect-timeout 30 -A "omarchy-update" \
|
||||||
yay -S --noconfirm --needed \
|
"https://aur.archlinux.org/rpc/?v=5&type=info&arg=base" |
|
||||||
1password-beta 1password-clia \
|
jq -e '.type=="multiinfo"' >/dev/null; then
|
||||||
python-poetry-core python-terminaltexteffects \
|
if [ -z "$OMARCHY_BARE" ]; then
|
||||||
tzupdate wl-screenrec \
|
yay -S --noconfirm --needed \
|
||||||
typora ttf-ia-writer
|
1password-beta 1password-cli \
|
||||||
fi
|
typora ttf-ia-writer
|
||||||
|
fi
|
||||||
|
|
||||||
# We install chromium to be safe that we have a browser,
|
yay -S --noconfirm --needed \
|
||||||
# but replace it with our version if AUR is available
|
tzupdate wl-screenrec \
|
||||||
sudo pacman -Rns chromium
|
python-poetry-core python-terminaltexteffects
|
||||||
yay -S --noconfirm omarchy-chromium-bin
|
|
||||||
|
# We install chromium to be safe that we have a browser,
|
||||||
|
# but replace it with our version if AUR is available
|
||||||
|
sudo pacman -Rns chromium
|
||||||
|
yay -S --noconfirm omarchy-chromium-bin
|
||||||
|
else
|
||||||
|
echo -e "\n\e[31mAUR is unavailable. Skipping installation of: 1password, Typora, tte, tzupdate !\e[0m"
|
||||||
|
echo "You will have to install these later when AUR is available."
|
||||||
|
sleep 5
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user