diff options
author | Erkin Batu Altunbaş <erkinbatu@gmail.com> | 2012-03-11 23:18:18 +0100 |
---|---|---|
committer | Erkin Batu Altunbaş <erkinbatu@gmail.com> | 2012-03-11 23:18:18 +0100 |
commit | 0533da4bb36151b6b8cf6de157b802df6c62f58d (patch) | |
tree | 08fc659e281ec9382811e9d7abc332c6c8b68823 | |
parent | eb25fecf0793d79947de7f4b58e87efe7d8b1831 (diff) | |
download | ponysay-0533da4bb36151b6b8cf6de157b802df6c62f58d.tar.gz ponysay-0533da4bb36151b6b8cf6de157b802df6c62f58d.tar.bz2 ponysay-0533da4bb36151b6b8cf6de157b802df6c62f58d.zip |
derp. >.<
-rwxr-xr-x | ponysay | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -6,15 +6,16 @@ HOMEPONIES="${HOME}/.ponies" pony="*" wrap= -if [[ -f `which cowsay` ]]; -then continue; +if [[ -f `which cowsay` ]]; +then + true else echo "You don't seem to have the cowsay program." echo "Please install it in order to use this wrapper." echo -n "(Or symlink it to 'cowsay' in anywhere in \$path " echo "if it actually exists under a different filename." + exit; fi - cmd=cowsay [[ ${0} == *ponythink ]] && cmd=cowthink |