diff options
author | Yaco <franco@reevo.org> | 2023-04-21 12:06:28 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2023-04-21 12:06:28 -0300 |
commit | 44ba681f8edf65f6258b08561fe58d89bf198de4 (patch) | |
tree | 91506a6cde0d31745835f3edb1e1456b9405a3fe | |
parent | 9f782b35cc21f9301d2e44b0596d2b286238dd68 (diff) |
Filtra archivos de configuracion temporales
-rwxr-xr-x | bin/bkp/bkp_wiki.sh | 2 | ||||
-rwxr-xr-x | bin/reevotech/PullPages.sh | 4 | ||||
-rwxr-xr-x | bin/sync/sync-wiki.sh | 2 |
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 |