aboutsummaryrefslogtreecommitdiff
path: root/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init.sh')
-rwxr-xr-xinit.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/init.sh b/init.sh
index 9fe1422..8b74d19 100755
--- a/init.sh
+++ b/init.sh
@@ -1,2 +1,9 @@
#!/bin/bash
-mkdir hashes
+if [ ! -d hashes ]
+then
+ mkdir hashes
+fi
+if [ ! -f "hashes/list" ]
+then
+ echo 0 > hashes/list
+fi