aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos.K <freedomrfox@gmail.com>2017-09-02 19:51:36 +0300
committerChristos.K <freedomrfox@gmail.com>2017-09-02 19:51:36 +0300
commitf2ebcc7dd1f367cbd5f009865f200bf307491a24 (patch)
tree994357ea4174b1168ef1dfa3487df2b4552aeb05
parentminor (diff)
downloadGSE-f2ebcc7dd1f367cbd5f009865f200bf307491a24.tar.gz
GSE-f2ebcc7dd1f367cbd5f009865f200bf307491a24.tar.bz2
GSE-f2ebcc7dd1f367cbd5f009865f200bf307491a24.zip
Removed shell check function, becaue it was never used
-rwxr-xr-xbin/gse25
1 files changed, 0 insertions, 25 deletions
diff --git a/bin/gse b/bin/gse
index dcf2ef0..be300d9 100755
--- a/bin/gse
+++ b/bin/gse
@@ -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" ]]