.profile: Use a better method of checking for emerge's existence
This commit is contained in:
parent
842ce3d17c
commit
80a352bd5e
2
.profile
2
.profile
@ -26,7 +26,7 @@
|
||||
# care of it
|
||||
|
||||
# If emerge exists, add emerge aliases
|
||||
if [ `which emerge` ]; then
|
||||
if `which emerge > /dev/null 2>&1` ; then
|
||||
alias e-depclean='sudo emerge -a --depclean'
|
||||
alias e-inst='sudo emerge -a --jobs --tree --quiet-build y'
|
||||
alias e-upgrade='sudo emerge -DNUua --jobs --tree --quiet-build y --with-bdeps=y --keep-going --backtrack=1000 @world'
|
||||
|
Loading…
Reference in New Issue
Block a user