From 046cc94ac6c5f59f9d09029c557da09f193c3771 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 27 May 2020 11:29:15 -0500 Subject: [PATCH 1/5] 1.4.1 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ba298f7..da2c1f7 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync ``` cd ~ -wget https://github.com/vmstan/gravity-sync/archive/v1.4.0.zip -unzip v1.4.0.zip -mv ~/gravity-sync-1.4.0 ~/gravity-sync +wget https://github.com/vmstan/gravity-sync/archive/v1.4.1.zip +unzip v1.4.1.zip +mv ~/gravity-sync-1.4.1 ~/gravity-sync cd gravity-sync ``` From b3ef19db3ce4c4d5c1014440861a96111758a3ed Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 27 May 2020 12:00:23 -0500 Subject: [PATCH 2/5] Create new config file if missing on import --- gravity-sync.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 05d34b0..adb8352 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -2,7 +2,7 @@ # GRAVITY SYNC BY VMSTAN ##################### PROGRAM='Gravity Sync' -VERSION='1.4.1' +VERSION='1.4.2' # Execute from the home folder of the user who own's it (ex: 'cd ~/gravity-sync') # For documentation or download updates visit https://github.com/vmstan/gravity-sync @@ -76,8 +76,8 @@ function import_gs { MESSAGE="${CONFIG_FILE} Missing" echo -e "${INFO} ${MESSAGE}" - - exit_nochange + + config_generate fi } From a69e18802b582811f6c7dda77474bd53a1a09a3e Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 27 May 2020 12:06:39 -0500 Subject: [PATCH 3/5] Recycle command on exit --- gravity-sync.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index adb8352..e4ff1f0 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -71,13 +71,14 @@ function import_gs { MESSAGE="Using ${REMOTE_USER}@${REMOTE_HOST}" echo -e "${INFO} ${MESSAGE}" else - echo -e "\r${FAIL} ${MESSAGE}" MESSAGE="${CONFIG_FILE} Missing" echo -e "${INFO} ${MESSAGE}" + TASKTYPE='CONFIG' config_generate + echo -e "Please run ${YELLOW}$#${NC} again." fi } From a8e320aefe071259500e47788552e41f7fb94264 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 27 May 2020 12:09:50 -0500 Subject: [PATCH 4/5] Comment ending --- gravity-sync.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index e4ff1f0..1a8d21f 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -78,7 +78,7 @@ function import_gs { TASKTYPE='CONFIG' config_generate - echo -e "Please run ${YELLOW}$#${NC} again." + # echo -e "Please run ${YELLOW}$#${NC} again." fi } @@ -92,7 +92,6 @@ function update_gs { echo -e "${INFO} ${MESSAGE}" git reset --hard git pull - exit } @@ -106,7 +105,6 @@ function beta_gs { git reset --hard git pull git checkout origin/development - exit } From 4e9e2c76a8880f93ab1c651af47dedfb8b7aa1a6 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Wed, 27 May 2020 12:10:34 -0500 Subject: [PATCH 5/5] 1.4.2 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index da2c1f7..9023cc3 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync ``` cd ~ -wget https://github.com/vmstan/gravity-sync/archive/v1.4.1.zip -unzip v1.4.1.zip -mv ~/gravity-sync-1.4.1 ~/gravity-sync +wget https://github.com/vmstan/gravity-sync/archive/v1.4.2.zip +unzip v1.4.2.zip +mv ~/gravity-sync-1.4.2 ~/gravity-sync cd gravity-sync ```