diff --git a/tools/sys_base_install.sh b/tools/sys_base_install.sh index 7f039ee..e9c60a2 100755 --- a/tools/sys_base_install.sh +++ b/tools/sys_base_install.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # ** Initiate with: ** -# cd && wget http://git.str8.biz/mj/zsh-config/raw/master/tools/sys_base_install.sh -O - | sh +# cd && wget http://git.str8.biz/mj/zsh-config/raw/master/tools/sys_base_install.sh -O | sh # ------------------------------------------------------------------------------------------- # ** Helper Functions ** @@ -22,8 +22,8 @@ function set_apt_proxy { } function get_shell_config { - apt-get -yq install curl git nano zsh - mkdir "~/.config" + apt-get -yq install apt-utils curl git nano zsh + mkdir ~/.config echo "cloning zsh config.." hash git >/dev/null 2>&1 && env git clone --depth=1 http://git.str8.biz/mj/zsh-config.git $ZCNF } @@ -40,18 +40,24 @@ if [ ! -n "$ZSH" ]; then ZSH=$ZCNF/tools/oh-my-zsh fi -export DEBIAN_FRONTEND=noninteractive +#export DEBIAN_FRONTEND=noninteractive apt-get update if [ "$GJ_SHELL" != "zsh" ]; then get_shell_config - src fi apt-get -yq upgrade && apt-get -yq dist-upgrade +apt-get -yq install locales-all localepurge makepasswd python-setuptools apt-get -yq autoremove && apt-get -yq clean +dpkg-reconfigure localepurge +dpkg-reconfigure tzdata + +easy_install pip +pip install autoenv +mkdir .autoenv && ln -s /usr/local/bin/activate.sh .autoenv/activate.sh echo "\033[0;34mLooking for an existing zsh config...\033[0m" if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then