Merge pull request #18 from vmstan:development

v1.4.2
This commit is contained in:
Michael Stanclift 2020-05-27 12:15:59 -05:00 committed by GitHub
commit 92a34cf913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -50,9 +50,9 @@ Download the latest release from [GitHub](https://github.com/vmstan/gravity-sync
``` ```
cd ~ cd ~
wget https://github.com/vmstan/gravity-sync/archive/v1.4.1.zip wget https://github.com/vmstan/gravity-sync/archive/v1.4.2.zip
unzip v1.4.1.zip unzip v1.4.2.zip
mv ~/gravity-sync-1.4.1 ~/gravity-sync mv ~/gravity-sync-1.4.2 ~/gravity-sync
cd gravity-sync cd gravity-sync
``` ```

View File

@ -2,7 +2,7 @@
# GRAVITY SYNC BY VMSTAN ##################### # GRAVITY SYNC BY VMSTAN #####################
PROGRAM='Gravity Sync' 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') # 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 # For documentation or download updates visit https://github.com/vmstan/gravity-sync
@ -71,13 +71,14 @@ function import_gs {
MESSAGE="Using ${REMOTE_USER}@${REMOTE_HOST}" MESSAGE="Using ${REMOTE_USER}@${REMOTE_HOST}"
echo -e "${INFO} ${MESSAGE}" echo -e "${INFO} ${MESSAGE}"
else else
echo -e "\r${FAIL} ${MESSAGE}" echo -e "\r${FAIL} ${MESSAGE}"
MESSAGE="${CONFIG_FILE} Missing" MESSAGE="${CONFIG_FILE} Missing"
echo -e "${INFO} ${MESSAGE}" echo -e "${INFO} ${MESSAGE}"
exit_nochange TASKTYPE='CONFIG'
config_generate
# echo -e "Please run ${YELLOW}$#${NC} again."
fi fi
} }
@ -91,7 +92,6 @@ function update_gs {
echo -e "${INFO} ${MESSAGE}" echo -e "${INFO} ${MESSAGE}"
git reset --hard git reset --hard
git pull git pull
exit exit
} }
@ -105,7 +105,6 @@ function beta_gs {
git reset --hard git reset --hard
git pull git pull
git checkout origin/development git checkout origin/development
exit exit
} }