Move reset.sh to Makefile

This commit is contained in:
Arinerron 2018-02-21 23:31:04 -08:00
parent 8acef01b68
commit 60c0f952eb
No known key found for this signature in database
GPG Key ID: 99383627861C62F0
2 changed files with 7 additions and 5 deletions

View File

@ -17,3 +17,10 @@ uninstall:
test:
@cd onionr; ./tests.py
reset:
echo "RESETING ONIONR"
rm -f onionr/data/blocks/*.dat | true > /dev/null 2>&1
rm -f onionr/data/peers.db | true > /dev/null 2>&1
rm -f onionr/data/blocks.db | true > /dev/null 2>&1

View File

@ -1,5 +0,0 @@
#!/bin/bash
echo "RESETING ONIONR"
rm onionr/data/blocks/*.dat
rm onionr/data/peers.db
rm onionr/data/blocks.db