summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo (XenGi) Band2015-12-24 21:17:33 +0100
committerRicardo (XenGi) Band2015-12-24 21:17:33 +0100
commitde096ce0ef9ae817017e654b8561da5b90360541 (patch)
treed83650d682768b9474949a7bf88ab58338c2aa7c
parent33e0892c0b388618e03ae07d0e81d8bfa26c4c71 (diff)
downloadaur-de096ce0ef9ae817017e654b8561da5b90360541.tar.gz
now with proper escaping
-rw-r--r--pokeshell.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokeshell.install b/pokeshell.install
index 592c94f971a4..ed481d21e3e7 100644
--- a/pokeshell.install
+++ b/pokeshell.install
@@ -7,7 +7,7 @@ post_install() {
echo ""
echo "function fish_greeting"
echo " set r (random)"
- echo " cat /usr/share/pokeshell/(math \"$r % 151 + 1\").pokemon"
+ echo " cat /usr/share/pokeshell/(math \"\$r % 151 + 1\").pokemon"
echo "end"
}
@@ -20,6 +20,6 @@ post_upgrade() {
echo ""
echo "function fish_greeting"
echo " set r (random)"
- echo " cat /usr/share/pokeshell/(math \"$r % 151 + 1\").pokemon"
+ echo " cat /usr/share/pokeshell/(math \"\$r % 151 + 1\").pokemon"
echo "end"
}