Remove env file & binary
This commit is contained in:
parent
e9fb08f2ca
commit
87af07fc60
@ -14,9 +14,12 @@ echo "Executing Clean tasks"
|
||||
rm -rf src/docker-compose.yml || CLEAN_ERROR_ID=1
|
||||
|
||||
## Clean DB-Data
|
||||
rm -rf {% if db.data_path_mysql is defined %}{{ data_path_mysql }}{% else %}./src/db/cache/mysql_data{% endif %} || CLEAN_ERROR_ID=3
|
||||
sudo rm -rf {% if db.data_path_mysql is defined %}{{ data_path_mysql }}{% else %}./src/db/cache/mysql_data{% endif %} || CLEAN_ERROR_ID=3
|
||||
rm -rf {% if db.data_path_mysql_backup is defined %}{{ data_path_mysql_backup }}{% else %}./src/db/cache/mysql_backup{% endif %} || CLEAN_ERROR_ID=4
|
||||
|
||||
## Remove everything in binary directory
|
||||
rm -rf bin/* || CLEAN_ERROR_ID=5
|
||||
rm -rf bin/.env || CLEAN_ERROR_ID=6
|
||||
# Post Task
|
||||
## Remove Clean script itself
|
||||
rm -rf src/clean-data.sh || CLEAN_ERROR_ID=2
|
||||
|
Loading…
Reference in New Issue
Block a user