Skip to content

testing/cowsay: new aport

Raymond Page requested to merge pagerc/aports:ftr/cowsay into master

http://www.nog.net/~tony/warez/

Configurable talking cow (and a few other creatures)

Adding cowsay, more cow speak is needed in Alpine linux.

type flite >/dev/null 2>&1 && {
    SAY=$(cat "${XDG_CONFIG_HOME}/flite/welcome")
    type fortune >/dev/null 2>&1 && {
        SAY=$(printf '%s\n\n%s' "${SAY}" "$(fortune 2>/dev/null)")
    }
    type cowsay >/dev/null 2>&1 && {
        printf '%s' "${SAY}" | cowsay -f tux 2>/dev/null
    }
    flite -voice slt -t "${SAY}" 2>/dev/null
}
Edited by Raymond Page

Merge request reports

Loading