summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZeLibertineGamer <zlg@zlg.space>2016-05-23 05:25:53 -0700
committerZe Libertine Gamer <zlg@zlg.space>2016-05-23 05:25:53 -0700
commit24130015989111c935df9527322c6998a2bf4767 (patch)
tree356f66602427530145eca6671d0eedf555e8b5d3 /scripts
parentShow help when invoked without arguments (diff)
downloadvgstash-24130015989111c935df9527322c6998a2bf4767.tar.gz
vgstash-24130015989111c935df9527322c6998a2bf4767.tar.bz2
vgstash-24130015989111c935df9527322c6998a2bf4767.tar.xz
vgstash-24130015989111c935df9527322c6998a2bf4767.zip
dupe-finder.sh: Invert if statement
...Really?
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dupe-finder.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/dupe-finder.sh b/scripts/dupe-finder.sh
index 9ffae6d..dec0d68 100755
--- a/scripts/dupe-finder.sh
+++ b/scripts/dupe-finder.sh
@@ -4,9 +4,7 @@
# We're setting the envvar here to enforce the -w argument to uniq
result=$(VGSTASH_TABLE_WIDTH=80 vgstash list | uniq -D -f 2 -w 58)
-if [[ -z $result ]]; then
- exit
-else
+if [[ -n $result ]]; then
VGSTASH_TABLE_WIDTH=80 vgstash list | head -n 2
echo "$result"
fi
t of time games with a purchase date value have been sitting in your collection unbeaten. 2025-01-24tox.ini: Update to Python 3.11 env by defaultzlg1-1/+1 2025-01-23schema1-to-2.py: Add shebang because I'm a doofuszlg1-0/+2 2023-09-22scripts: Add schema v1->v2 migration scriptzlg2-9/+85 This script adds three columns to the schema, supporting the "Purchased", "Beaten", and "Completed" note headers. They are now converted to a UNIX timestamp and stored in a separate column so queries made against that metadata are easier. The library itself still needs to support all the new columns.