Compare commits
1 Commits
0214e59715
...
e0fb848957
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0fb848957 |
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
openDatabase() {
|
openDatabase() {
|
||||||
[[ -f "$database" ]] || populate_db=1
|
[[ -f "$database" ]] && populate_db=1
|
||||||
rm -f "$tempdir"/sqlite.{in,out}
|
rm -f "$tempdir"/sqlite.{in,out}
|
||||||
mkfifo "$tempdir"/sqlite.{in,out}
|
mkfifo "$tempdir"/sqlite.{in,out}
|
||||||
sqlite3 -bail "$database" \
|
sqlite3 -bail "$database" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user