no asking for confirmation while upgrading ubuntu, dist-upgrade used, as we're using apt, not aptitude in the early stages, fix for shell changer

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-01-03 23:36:05 +01:00
parent 2099afe626
commit 368b42533f
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,8 @@
#!/bin/bash #!/bin/bash
#zsh #zsh
sudo chsh -s `which zsh` $USER sudo true
chsh -s `which zsh` $USER
#submodules #submodules
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@ -9,7 +10,6 @@ cd $DIR
git submodule init git submodule init
git submodule update --recursive git submodule update --recursive
#symbolic links #symbolic links
ln -vfs "$DIR/.vim" ~/. ln -vfs "$DIR/.vim" ~/.
ln -vfs "$DIR/.vimrc" ~/. ln -vfs "$DIR/.vimrc" ~/.

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
sudo apt-get update sudo apt-get update
sudo apt-get full-upgrade sudo apt-get dist-upgrade -y
sudo apt-get install meld whois zsh tmux vim atop aria2 curl pv pixz gajim tor torsocks nodejs npm terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar sudo apt-get install -y meld whois zsh tmux vim atop aria2 curl pv pixz gajim tor torsocks nodejs npm terminator gsmartcontrol python-pip mesa-utils mesa-utils-extra aptitude p7zip-full p7zip-rar
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
$DIR/install_common.sh $DIR/install_common.sh