summarylogtreecommitdiffstats
path: root/waifu2x.sh
diff options
context:
space:
mode:
authorAndrei "Akari" Alexeyev2017-07-23 16:24:00 +0300
committerAndrei "Akari" Alexeyev2017-07-23 16:24:00 +0300
commit32a2201c2ca71b787cd1cbf265d5a7e92aceed3c (patch)
tree965db4513d6b76cb346fb8cdf6cba620596e6219 /waifu2x.sh
parent5b6611c3bd49098d2e3b2ebafe5a59a5396be1c0 (diff)
downloadaur-32a2201c2ca71b787cd1cbf265d5a7e92aceed3c.tar.gz
Updated and repurposed the package.
It now installs the original waifu2x.
Diffstat (limited to 'waifu2x.sh')
-rw-r--r--waifu2x.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/waifu2x.sh b/waifu2x.sh
new file mode 100644
index 000000000000..c55475a08c4d
--- /dev/null
+++ b/waifu2x.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+waifu2x="/usr/share/waifu2x/waifu2x.lua"
+
+if [[ -n "$1" ]]; then
+ exec luajit "$waifu2x" "$@"
+else
+ exec luajit "$waifu2x" -h "$@"
+fi