mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-25 15:35:17 +00:00
fix: brew auto upgrade services (#1135)
This commit is contained in:
parent
d526b309e0
commit
fd7640dedb
@ -2,7 +2,7 @@
|
||||
Description=Auto update brew for mutable brew installs
|
||||
After=local-fs.target
|
||||
After=network-online.target
|
||||
ConditionPathExists=/home/linuxbrew/.linuxbrew/bin/brew
|
||||
ConditionPathIsSymbolicLink=/home/linuxbrew/.linuxbrew/bin/brew
|
||||
|
||||
[Service]
|
||||
# Override the user if different UID/User
|
||||
@ -11,5 +11,4 @@ Type=oneshot
|
||||
Environment=HOMEBREW_CELLAR=/home/linuxbrew/.linuxbrew/Cellar
|
||||
Environment=HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew
|
||||
Environment=HOMEBREW_REPOSITORY=/home/linuxbrew/.linuxbrew/Homebrew
|
||||
ExecStart=/home/linuxbrew/.linuxbrew/bin/brew update
|
||||
StandardOutput=journal
|
||||
ExecStart=/usr/bin/bash -c "/home/linuxbrew/.linuxbrew/bin/brew update"
|
||||
|
@ -2,7 +2,7 @@
|
||||
Description=Upgrade Brew packages
|
||||
After=local-fs.target
|
||||
After=network-online.target
|
||||
ConditionPathExists=/home/linuxbrew/.linuxbrew/bin/brew
|
||||
ConditionPathIsSymbolicLink=/home/linuxbrew/.linuxbrew/bin/brew
|
||||
|
||||
[Service]
|
||||
# Override the user if different UID/User
|
||||
@ -11,5 +11,4 @@ Type=oneshot
|
||||
Environment=HOMEBREW_CELLAR=/home/linuxbrew/.linuxbrew/Cellar
|
||||
Environment=HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew
|
||||
Environment=HOMEBREW_REPOSITORY=/home/linuxbrew/.linuxbrew/Homebrew
|
||||
ExecStart=/home/linuxbrew/.linuxbrew/bin/brew upgrade
|
||||
StandardOutput=journal
|
||||
ExecStart=/usr/bin/bash -c "/home/linuxbrew/.linuxbrew/bin/brew upgrade"
|
||||
|
Loading…
x
Reference in New Issue
Block a user