diff options
author | Christos.K <freedomrfox@gmail.com> | 2017-08-17 17:50:34 +0300 |
---|---|---|
committer | Christos.K <freedomrfox@gmail.com> | 2017-08-17 17:50:34 +0300 |
commit | e811509044cdcaad096e732c8fb28580d6fa0aa3 (patch) | |
tree | 97705c1be9dcb9348b15f564eafb585d72995eff | |
parent | Moved to git refresh opt instead of old tar/rsync option (diff) | |
download | GSE-e811509044cdcaad096e732c8fb28580d6fa0aa3.tar.gz GSE-e811509044cdcaad096e732c8fb28580d6fa0aa3.tar.bz2 GSE-e811509044cdcaad096e732c8fb28580d6fa0aa3.zip |
Included the git entries in gse tools
-rwxr-xr-x | scripts/functions/sinit_functions | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/scripts/functions/sinit_functions b/scripts/functions/sinit_functions index 0244c56..acb0cf4 100755 --- a/scripts/functions/sinit_functions +++ b/scripts/functions/sinit_functions @@ -2565,17 +2565,27 @@ main_f() { gse_t() { read -rp "Input :: <= " SELCT - case ${SELCT:-6} in + case ${SELCT} in I|i|1 ) - # RENEW ALL MODIFIED ITEMS - # THE LIST WILL INCLUDE ONLY THE MAIN SCRIPTS IN THE END - #./"${CWORKDIR}/functions/renew" & + if renew "hard"; then + echo "All scripts and configuration files have been hard resetted" + else + echo "Failed resetting the project. Please report this issue" + fi exit 0;; II|ii|2 ) + if renew "soft"; then + echo "Project's scripts have been resetted" + else + echo "The process could not roll back all project's scripts" + echo "Please report this issue" + fi + exit 0;; + III|iii|3 ) # VERSION CHECK source "${CWORKDIR}/functions/gse_sources" _STAY=0;; - III|iii|3 ) + V|v|5 ) _PARENT=0;; [tT] ) subterm_f "${lppar[@]}" |