* Docker exec not completeing

* Directions for upgrade

Co-authored-by: Michael Stanclift <vmstan@sovereign.local>
This commit is contained in:
Michael Stanclift 2020-10-21 09:37:23 -05:00 committed by GitHub
parent a90574c8e6
commit 804a792b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 4 deletions

View File

@ -1 +1 @@
3.1.0
3.1.1

View File

@ -59,6 +59,10 @@ You can now use a standard Pi-hole install as your primary, or your secondary. Y
<img src="https://raw.githubusercontent.com/vmstan/gravity-sync/master/docs/gs-logo.svg" height="150" width="150" alt="Gravity Sync">
#### 3.1.1
- Fixes issue where Docker based Pi-hole restarts may not complete. [#109](https://github.com/vmstan/gravity-sync/issues/109)
## 3.0
### The Breakout Release

View File

@ -3,7 +3,7 @@ SCRIPT_START=$SECONDS
# GRAVITY SYNC BY VMSTAN #####################
PROGRAM='Gravity Sync'
VERSION='3.1.0'
VERSION='3.1.1'
# For documentation or downloading updates visit https://github.com/vmstan/gravity-sync
# Requires Pi-Hole 5.x or higher already be installed, for help visit https://pi-hole.net

View File

@ -51,7 +51,7 @@ function ph_type {
PH_EXEC="${PIHOLE_BIN}"
elif [ "$PH_IN_TYPE" == "docker" ]
then
PH_EXEC="${DOCKER_BIN} exec -it ${DOCKER_CON} pihole"
PH_EXEC="${DOCKER_BIN} exec ${DOCKER_CON} pihole"
fi
if [ "$RH_IN_TYPE" == "default" ]
@ -59,7 +59,7 @@ function ph_type {
RH_EXEC="${RIHOLE_BIN}"
elif [ "$RH_IN_TYPE" == "docker" ]
then
RH_EXEC="${ROCKER_BIN} exec -it ${DOCKER_CON} pihole"
RH_EXEC="${ROCKER_BIN} exec ${DOCKER_CON} pihole"
fi
}

View File

@ -187,6 +187,7 @@ fi
if [ -d gravity-sync ]
then
echo -e "[${RED}${NC}] Folder gravity-sync Already Exists"
echo -e "[${PURPLE}!${NC}] ${PURPLE}Use './gravity-sync.sh update' to Update Instead${NC}"
CROSSCOUNT=$((CROSSCOUNT+1))
fi