summaryrefslogtreecommitdiff
path: root/client/fetch-db.sh
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-03 14:39:27 -0400
committerJules Laplace <julescarbon@gmail.com>2017-06-03 14:39:27 -0400
commit53520d6c7fb404a6c789e91fef72e41a855893d6 (patch)
treea40307cf5f95572be1b14e38b598c3e36745928e /client/fetch-db.sh
parentd5394e9c1a936e8272ed036f259532939d37f44f (diff)
build
Diffstat (limited to 'client/fetch-db.sh')
-rwxr-xr-xclient/fetch-db.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/fetch-db.sh b/client/fetch-db.sh
new file mode 100755
index 0000000..10b0ce4
--- /dev/null
+++ b/client/fetch-db.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+printf 'export const backupDB = ' > backupDB.js
+curl -k https://hanselgretelarmory.com/db.json >> backupDB.js
+mv backupDB.js src/lib/db/
+