From 65131390b0413e5374811e6f0d05fb9266ad3e6c Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Mon, 24 Apr 2023 19:34:06 -0500 Subject: [PATCH] missed one --- PKGBUILD | 4 ++-- pokedex | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 88e32d5..9917764 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -17,12 +17,12 @@ source=("git+https://github.com/ericlay/fuzzy-pokedex.git") md5sums=('SKIP') pkgver(){ - cd "${pkgname}" + cd "$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - cd "$srcdir/${pkgname}" + cd "$srcdir/$pkgname" install -Dm666 pokeData/* -t "$pkgdir/usr/share/$pkgname/pokeData" install -Dm666 keybindings-preview -t "$pkgdir/usr/share/$pkgname" install -Dm755 pokeParse -t "$pkgdir/usr/bin" diff --git a/pokedex b/pokedex index dd25ad7..2b634e9 100755 --- a/pokedex +++ b/pokedex @@ -2,8 +2,8 @@ ### Overhad preparation shopt -s extglob -KBINDS="/usr/share/fuzzy-pokedex-dev/keybindings-preview" -POKEDATA="/usr/share/fuzzy-pokedex-dev/pokeData" +KBINDS="/usr/share/fuzzy-pokedex/keybindings-preview" +POKEDATA="/usr/share/fuzzy-pokedex/pokeData" indent="\n\t\t\t\t\t" ### Help @@ -51,7 +51,7 @@ pokedex_View() { --bind=ctrl-b:preview:"echo; pokemon-colorscripts -b -n {1} --no-title; cat $POKEDATA/{1};" \ --bind=ctrl-s:preview:"echo; pokemon-colorscripts -s -n {1} --no-title; cat $POKEDATA/{1};" \ --bind=ctrl-n:preview:"printf '${indent}%s${indent} %s\n' 'Press space to hear entry' 'ctrl+space to stop'; pokemon-colorscripts -n {1} --no-title; cat $POKEDATA/{1};" | - parallel pokemon-colorscripts --no-title -n {} "&&" cat "$POKEDATA/{}" + parallel pokemon-colorscripts --no-title -n {} "&&" "$POKEDATA/{}" } ### Quick view returns single Pokemon stat instead of opening pokedex @@ -61,7 +61,7 @@ quick_view() { ### Update Pokemon stats file set update_pokeData() { - printf "\n\t\t%s\n\t%s\n\n" "WARNING!!!" "This WILL take a long time" + printf "\n\t\t%s\n\t%s\n\n" "WARNING!!!" "This WILL take some time" pokemon-colorscripts -l | sort | parallel --bar --retry-failed --color -j "${1:-200%}" pokeParse }