Compare commits

..

2 Commits

Author SHA1 Message Date
Icedream 55c28f9ce3
Only run pulseaudio check if binary exists. 2018-02-20 03:17:22 +01:00
Icedream 0faacb3e0e
Only print PROFILE vars in debug mode. 2018-02-20 03:17:03 +01:00
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ PROFILE_THEFUCK=${PROFILE_THEFUCK:-$(when_binary_available thefuck)}
PROFILE_YARN=${PROFILE_YARN:-$(when_binary_available yarn)} PROFILE_YARN=${PROFILE_YARN:-$(when_binary_available yarn)}
section "profile variables" section "profile variables"
set | grep '^PROFILE_' log "$(set | grep '^PROFILE_')"
section_end section_end
############################################################################## ##############################################################################
@ -244,7 +244,7 @@ section_end
# pulseaudio # pulseaudio
section "pulseaudio" section "pulseaudio"
if pulseaudio --check; then if has_binary pulseaudio && pulseaudio --check; then
log "PulseAudio is active." log "PulseAudio is active."
else else
log "PulseAudio is inactive." log "PulseAudio is inactive."