More scripts

master
Dustin Swan 5 years ago
parent 411a3ad9de
commit 9a2c4328d5
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -0,0 +1,9 @@
#!/bin/sh
if command -v brew &> /dev/null; then
brew cleanup
fi
if command -v nix &> /dev/null; then
nix-collect-garbage -d
fi

@ -0,0 +1,9 @@
#!/bin/sh
if command -v offlineimap &> /dev/null; then
offlineimap
fi
if command -v vdirsyncer &> /dev/null; then
vdirsyncer sync
fi

@ -1,6 +1,5 @@
#!/bin/sh
# if type "$brew" > /dev/null; then
if command -v brew &> /dev/null; then
brew update
brew upgrade
@ -8,7 +7,6 @@ if command -v brew &> /dev/null; then
fi
if command -v nix &> /dev/null; then
# if type "$nix" > /dev/null; then
nix-channel --update
nix-env -u
home-manager switch

Loading…
Cancel
Save