mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
Fix path to truncater and list
This commit is contained in:
parent
af2cc12de9
commit
9820d208a1
1 changed files with 3 additions and 2 deletions
5
ponysay
5
ponysay
|
@ -3,6 +3,7 @@
|
|||
version=1.0
|
||||
SYSTEMPONIES="/usr/share/ponysay/ponies"
|
||||
HOMEPONIES="${HOME}/.local/share/ponysay/ponies"
|
||||
SCRIPTDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Get bash script directory
|
||||
pony="*"
|
||||
wrap=""
|
||||
|
||||
|
@ -19,8 +20,8 @@ version() {
|
|||
}
|
||||
|
||||
scrw=`(stty size <&2 || echo 0 0) | cut -d ' ' -f 2`
|
||||
listcmd="/usr/lib/ponysay/list.pl"
|
||||
truncatercmd="/usr/lib/ponysay/truncater"
|
||||
listcmd="${SCRIPTDIR}/../lib/ponysay/list.pl"
|
||||
truncatercmd="${SCRIPTDIR}/../lib/ponysay/truncater"
|
||||
|
||||
haspq=1
|
||||
if [[ -f './pq4ps-list' ]]; then
|
||||
|
|
Loading…
Reference in a new issue