From 88e75a4a55a3a85544663f64984c3cabd7bb1399 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 11 Oct 2024 06:57:06 +0300 Subject: Properly initialize --- init.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3