From 9e6ed23130ccc72d6dab6dd38c205a41de5aca23 Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Tue, 24 May 2016 12:56:25 +0100 Subject: [PATCH] Update systempony --- systempony | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/systempony b/systempony index 86faab0..82f7115 100755 --- a/systempony +++ b/systempony @@ -200,7 +200,7 @@ function list_ponies() { ponydir=$(get_data_file "rendered/ansi/") echo random - find "$ponydir" -name '*.colored.txt' -exec basename {} .colored.txt \; | sort + find "$ponydir" -name '*.ansi' -exec basename {} .ansi \; | sort } function select_info() @@ -316,10 +316,10 @@ then ponyfile=/dev/null else ponydir=$(get_data_file "rendered/ansi/") - ponyfile="$ponydir/$PONY.colored.txt" + ponyfile="$ponydir/$PONY.ansi" if [ -n "$ponydir" -a '(' \! -f "$ponyfile" -o "$PONY" = random ')' ] then - ponyfile="$(find "$ponydir" -name '*.colored.txt' | shuf | head -n 1)" + ponyfile="$(find "$ponydir" -name '*.ansi' | shuf | head -n 1)" fi fi