15 lines
271 B
Bash
Executable file
15 lines
271 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# if type "$brew" > /dev/null; then
|
|
if command -v brew &> /dev/null; then
|
|
brew update
|
|
brew upgrade
|
|
brew cask upgrade
|
|
fi
|
|
|
|
if command -v nix &> /dev/null; then
|
|
# if type "$nix" > /dev/null; then
|
|
nix-channel --update
|
|
nix-env -u
|
|
home-manager switch
|
|
fi
|