remove echo so install commences

master
David Kebler 2024-02-27 19:04:33 -08:00
parent d497156be9
commit 5ae8dd672c
2 changed files with 4 additions and 4 deletions

View File

@ -7,9 +7,9 @@ uci_bash_shell_install () {
# export BASH_SHELL_BASE="$(dirname "$(cd "$(dirname "${BASH_SOURCE:-$0}")" >/dev/null 2>&1 ; pwd -P )")"
echo "Detected The UCI BASH Shell install directory: BASH_INSTALL_DIR=$install_dir"
echo "Detected The UCI BASH Shell base directory: BASH_SHELL_BASE=$BASH_SHELL_BASE"
[[ $EUID -ne 0 ]] && usesudo=sudo
$usesudo -m $SHELL $install_dir/scripts/copy-etc.sh
$usesudo -m $SHELL $install_dir/scripts/copy-root.sh
[[ $EUID -ne 0 ]] && usesudo="sudo -m"
$usesudo $SHELL $install_dir/scripts/copy-etc.sh
$usesudo $SHELL $install_dir/scripts/copy-root.sh
[[ $1 ]] && [[ $(id -u $1 2> /dev/null) ]] && $usesudo -m $SHELL $install_dir/scripts/copy-user.sh "$@"
}

View File

@ -47,7 +47,7 @@ install_shell_base () {
chown -R ${1:-$1000}:${1:-1000} /shell
chmod -R +r /shell
echo /bin/bash /shell/base/install/install.sh ${1:-1000}
/bin/bash /shell/base/install/install.sh ${1:-1000}
}
# # if script was executed then call the function