diff options
author | 2017-09-02 19:51:36 +0300 | |
---|---|---|
committer | 2017-09-02 19:51:36 +0300 | |
commit | f2ebcc7dd1f367cbd5f009865f200bf307491a24 (patch) | |
tree | 994357ea4174b1168ef1dfa3487df2b4552aeb05 | |
parent | minor (diff) | |
download | GSE-f2ebcc7dd1f367cbd5f009865f200bf307491a24.tar.gz GSE-f2ebcc7dd1f367cbd5f009865f200bf307491a24.tar.bz2 GSE-f2ebcc7dd1f367cbd5f009865f200bf307491a24.zip |
Removed shell check function, becaue it was never used
-rwxr-xr-x | bin/gse | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -9,12 +9,6 @@ # # ## ## -if echo "${_flag_tty}" | grep -q 'sshd'; then - LC_COLLATE="C" - LC_ALL="en_US.UTF-8" - LC_CTYPE="en_US.UTF-8" -fi - # DEFINITION OF CWORKDIR AND IT'S SUBDIRECTORIES export CWORKDIR="$(dirname ${PWD})" export CCONFDIR="${CWORKDIR}/config.d" @@ -30,25 +24,6 @@ source "${CWORKDIR}/scripts/functions/sinit_functions" || { echo -e "\e[31mMissi source "${CWORKDIR}/scripts/functions/catalyst_functions" || { echo -e "\e[31mMissing scripts\e[0m" && exit 1; } source "${CWORKDIR}/etc/gentoo.conf" || { echo -e "\e[31mMissing gentoo.conf\e[0m" && exit 1; } -# CHECK IF BASH IS THE DEFAULT {CURRENT} SHELL, ISSUE A WARNING OTHERIWSE -shl_f() { - SHL=$SHELL - ISITBASH=$(echo "${SHL}" | awk -F "bin/" '{ print $2}') - if [[ ${ISITBASH} != "bash" ]]; then - echo "Seems like you are not using bash" - echo "Keep in mind that all scripts from this project are written for bash interpretation" - while true; do - echo "Do you want to continue?: " - read -rp "Input :: <= " S - case ${S} in - [Yy][eE][sS]|[yY]) clear; break;; - [Nn][oO]|[nN]) echo "Exiting..."; exit;; - * ) echo "Select Y/N";; - esac - done - fi -} - # ROOT CHECK FUNCTION, IS NEEDED FOR THE CATALYST AND CHROOT PROCESS amiroot() { if [[ "$1" != "0" ]] |