mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-12-21 22:41:53 +01:00
detect apt instead of OS
This commit is contained in:
parent
0da271937b
commit
0a290694f2
@ -7,7 +7,7 @@ if [[ -x $(which brew) ]]; then
|
||||
alias brewupdate='brew update; brew upgrade; brew upgrade --cask; brew cleanup'
|
||||
fi
|
||||
|
||||
if [[ $platform == 'Linux' ]]; then
|
||||
if [[ -x $(which apt) ]]; then
|
||||
alias aptupdate='sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt clean'
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user