diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-10-11 06:57:06 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-10-11 06:57:06 +0300 |
commit | 88e75a4a55a3a85544663f64984c3cabd7bb1399 (patch) | |
tree | d21b62f3a1f7098e1eb355089766eb484def6cc0 /init.sh | |
parent | f5845ffe9bc8a3e51f332ed5e3324a23cbb5b580 (diff) | |
download | arching-kaos-radio-88e75a4a55a3a85544663f64984c3cabd7bb1399.tar.gz arching-kaos-radio-88e75a4a55a3a85544663f64984c3cabd7bb1399.tar.bz2 arching-kaos-radio-88e75a4a55a3a85544663f64984c3cabd7bb1399.zip |
Properly initialize
Diffstat (limited to 'init.sh')
-rwxr-xr-x | init.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |