Skip to content

Commit

Permalink
Removed package install from CI. Too many issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceiphr committed Jun 28, 2023
1 parent a49ff7d commit 54b5936
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ function install_pkgs() {
# Install OS-specific packages
if [[ "$ID" == "fedora" ]] || [[ $ID == "rhel" ]]; then
install_dnf
# Note: Flatpak errors when run as root in CI. Don't install flatpak in CI.
[[ ! "$CI" ]] && install_flatpak
install_flatpak
elif [[ $ID == "ubuntu" ]] || [[ "$CODESPACES" ]]; then
install_apt
else
Expand Down Expand Up @@ -238,7 +237,7 @@ function install() {
source src/.zshenv

# Install packages
install_pkgs
[[ ! "$CI" ]] && install_pkgs

# Install various plugins and extensions
install_fzf
Expand All @@ -261,6 +260,7 @@ function install() {
fi
}

# TODO: Implement documented flags and --help
if [ "$1" == "--force" ] || [ "$1" == "-f" ] || [ "$CODESPACES" ]; then
install
elif [ "$1" == "--sync" ] || [ "$1" == "-s" ]; then
Expand Down

0 comments on commit 54b5936

Please sign in to comment.