summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2019-09-08 08:31:40 -0300
committerYaco <franco@reevo.org>2019-09-08 08:31:40 -0300
commit15394b63b5f193d9414184deb1178ff8e3f148d4 (patch)
treec5a6741e5f138f35f9e8b8037e19a97bd4c9a582
parent84cacc0ea678093f3940b78c79f9c5e2b51f9e7d (diff)
mejora borrado de db
-rwxr-xr-xbin/sync/sync-wiki.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sync/sync-wiki.sh b/bin/sync/sync-wiki.sh
index 6bd6abec..1bff0ecb 100755
--- a/bin/sync/sync-wiki.sh
+++ b/bin/sync/sync-wiki.sh
@@ -40,7 +40,7 @@ echo ""
echo ""
echo "###################"
echo "Descomprimimos y reemplazamos la BD local por la remota"
-rm "/tmp/*.sql"
+rm "/tmp/*.sql.*"
bunzip2 "/tmp/$REMOTO-$DB.sql.bz2"
# mysql --user=$USER --password=$PASSWORD -e "CREATE database if not exists $BDIMPORT;"
mysql --user=$USER --password=$PASSWORD $DB < "/tmp/$REMOTO-$DB.sql"