Skip to content

Commit

Permalink
fix: Run Brew install through bash
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Feb 27, 2024
1 parent c9affc5 commit 4af1094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/libexec/ublue-user-networked-tasks
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# Script Version
VER=4
VER=5
VER_FILE="${XDG_DATA_HOME:-$HOME/.local/share}/ublue/networked_tasks_version"
VER_RAN=$(cat $VER_FILE)

Expand Down Expand Up @@ -52,7 +52,7 @@ notify-send "Flatpak installer" "Finished installing user flatpaks" --app-name="

# Install brew
if [[ ! -f "/var/home/linuxbrew/.linuxbrew/bin" || ! -x "/var/home/linuxbrew/.linuxbrew/bin/brew" ]]; then
NONINTERACTIVE=1 /usr/libexec/brew-install
/usr/bin/bash -c 'env NONINTERACTIVE=1 /usr/libexec/brew-install'
fi

notify-send "Brew installer" "Finished installing brew package manager" --app-name="Brew installer" -u NORMAL
Expand Down

0 comments on commit 4af1094

Please sign in to comment.