Skip to content

Commit

Permalink
Use absolute paths for all binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmachos committed May 6, 2024
1 parent 09d9b3a commit 684b703
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .functions/update!
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ function update! {

if [ -x "$(command -v brew)" ]; then
echo "[🍺] brew..."
brew update
brew upgrade
brew cleanup
brew autoremove
brew doctor
/opt/homebrew/bin/brew update
/opt/homebrew/bin/brew upgrade
/opt/homebrew/bin/brew cleanup
/opt/homebrew/bin/brew autoremove
/opt/homebrew/bin/brew doctor
fi

if [ -x "$(command -v tlmgr)" ]; then
if [ -x "$(command -v "/Library/TeX/texbin/tlmgr")" ]; then
echo "[📝] LaTeX..."
sudo tlmgr update --self
sudo tlmgr update –all
/usr/bin/sudo "/Library/TeX/texbin/tlmgr" update --self
/usr/bin/sudo "/Library/TeX/texbin/tlmgr" update –all
fi

if [ -x "$(command -v "/usr/sbin/softwareupdate")" ]; then
Expand Down

0 comments on commit 684b703

Please sign in to comment.