diff options
author | Elis Axelsson <elis.axelsson@gmail.com> | 2012-07-19 20:54:44 +0200 |
---|---|---|
committer | Elis Axelsson <elis.axelsson@gmail.com> | 2012-07-19 20:54:44 +0200 |
commit | af2cc12de9109c7fdb5234f3a06fd159f408591f (patch) | |
tree | 94632ea0b7c3b2e7c50b4cbbf0fcfec0b1034cac /ponysay | |
parent | 64a2dfa2d4d7279a9aca0eb65dabeb3fad6ee3a0 (diff) | |
download | ponysay-af2cc12de9109c7fdb5234f3a06fd159f408591f.tar.gz ponysay-af2cc12de9109c7fdb5234f3a06fd159f408591f.tar.bz2 ponysay-af2cc12de9109c7fdb5234f3a06fd159f408591f.zip |
Moved ponysaytruncater and ponysaylist.pl to /usr/lib/ponysay/truncater and /usr/lib/ponysay/list.pl
Diffstat (limited to 'ponysay')
-rwxr-xr-x | ponysay | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -19,7 +19,8 @@ version() { } scrw=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 2` -listcmd="ponysaylist.pl" +listcmd="/usr/lib/ponysay/list.pl" +truncatercmd="/usr/lib/ponysay/truncater" haspq=1 if [[ -f './pq4ps-list' ]]; then @@ -190,10 +191,7 @@ say() { cat else WIDTH=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 2` - ponysaytruncater $WIDTH 2>/dev/null || - ${HOME}/.local/bin/ponysaytruncater $WIDTH 2>/dev/null || - ./ponysaytruncater $WIDTH 2>/dev/null || - cat + $truncatercmd $WIDTH 2>/dev/null || cat fi } |