summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorYaco <franco@reevo.org>2023-04-21 12:06:28 -0300
committerYaco <franco@reevo.org>2023-04-21 12:06:28 -0300
commit44ba681f8edf65f6258b08561fe58d89bf198de4 (patch)
tree91506a6cde0d31745835f3edb1e1456b9405a3fe /bin
parent9f782b35cc21f9301d2e44b0596d2b286238dd68 (diff)
Filtra archivos de configuracion temporales
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bkp/bkp_wiki.sh2
-rwxr-xr-xbin/reevotech/PullPages.sh4
-rwxr-xr-xbin/sync/sync-wiki.sh2
3 files changed, 5 insertions, 3 deletions
diff --git a/bin/bkp/bkp_wiki.sh b/bin/bkp/bkp_wiki.sh
index e8c5f0f1..d1c37ac2 100755
--- a/bin/bkp/bkp_wiki.sh
+++ b/bin/bkp/bkp_wiki.sh
@@ -15,7 +15,7 @@ then
fi
DEPLOY=$1
-DEPLOYFILE=`ls ./etc | grep $DEPLOY`
+DEPLOYFILE=`ls ./etc | grep $DEPLOY | grep -v '.test' | grep -v '.old'`
echo "#### DEPLOY: $DEPLOY"
diff --git a/bin/reevotech/PullPages.sh b/bin/reevotech/PullPages.sh
index e479e39e..475b5485 100755
--- a/bin/reevotech/PullPages.sh
+++ b/bin/reevotech/PullPages.sh
@@ -10,7 +10,9 @@ fi
cd /srv/reevotech
DEPLOY=$1
-DEPLOYFILE=`ls ./etc | grep $DEPLOY`
+DEPLOYFILE=`ls ./etc | grep $DEPLOY | grep -v '.test' | grep -v '.old'`
+echo $DEPLOYFILE
+read
NS=$2
DOMAIN=`cat ./etc/$DEPLOYFILE | grep 'REEVO_URL =' | cut -d'"' -f 2`
diff --git a/bin/sync/sync-wiki.sh b/bin/sync/sync-wiki.sh
index 1be3cd68..dc6b1e20 100755
--- a/bin/sync/sync-wiki.sh
+++ b/bin/sync/sync-wiki.sh
@@ -15,7 +15,7 @@ then
fi
DEPLOY=$1
-DEPLOYFILE=`ls ./etc | grep $DEPLOY`
+DEPLOYFILE=`ls ./etc | grep $DEPLOY | grep -v '.test' | grep -v '.old'`
echo $DEPLOY