mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-16 17:44:23 +01:00
derp. >.<
This commit is contained in:
parent
eb25fecf07
commit
0533da4bb3
1 changed files with 4 additions and 3 deletions
7
ponysay
7
ponysay
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue