Skip to content

Commit

Permalink
Update init-brew
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkmmr69420 authored Apr 12, 2024
1 parent 17cbfdd commit 78fa967
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/init-brew
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ if test ! -f /home/linuxbrew/.linuxbrew/bin/brew; then
sudo chown $USER:$USER /home/linuxbrew
fi

if test ! -f "$HOME/.config/systemd/user/brew-container.service; then
mkdir -p "$HOME/.config/systemd/user
cp /usr/local/lib/cbrew/brew-container.service "$HOME/.config/systemd/user/brew-container.service
if test ! -f "$HOME/.config/systemd/user/brew-container.service"; then
mkdir -p "$HOME/.config/systemd/user"
cp /usr/local/lib/cbrew/brew-container.service "$HOME/.config/systemd/user/brew-container.service"
distrobox-host-exec -Y systemctl enable --user --now brew-container.service
fi

Expand Down

0 comments on commit 78fa967

Please sign in to comment.