Fix conditional

This commit is contained in:
David Heinemeier Hansson
2026-01-07 19:46:23 +01:00
parent 2855712158
commit f3b9a90120
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Configure pacman
if [[ ${OMARCHY_MIRROR:-} == "edge" ]] || ; then
if [[ ${OMARCHY_MIRROR:-} == "edge" ]] ; then
sudo cp -f ~/.local/share/omarchy/default/pacman/pacman-edge.conf /etc/pacman.conf
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-edge /etc/pacman.d/mirrorlist
else

View File

@@ -3,7 +3,7 @@ if [[ -n ${OMARCHY_ONLINE_INSTALL:-} ]]; then
sudo pacman -S --needed --noconfirm base-devel
# Configure pacman
if [[ ${OMARCHY_MIRROR:-} == "edge" ]] || ; then
if [[ ${OMARCHY_MIRROR:-} == "edge" ]] ; then
sudo cp -f ~/.local/share/omarchy/default/pacman/pacman-edge.conf /etc/pacman.conf
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-edge /etc/pacman.d/mirrorlist
else