adding envupdate script download

This commit is contained in:
Sadiq Saif 2012-01-21 13:19:40 -05:00
parent 02806d3640
commit c2b7a06697
1 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,7 @@ vimrcurl = "https://raw.github.com/staticsafe/dotfiles/master/.vimrc"
zshrcurl = "https://raw.github.com/staticsafe/dotfiles/master/.zshrc"
tmuxurl = "https://raw.github.com/staticsafe/dotfiles/master/.tmux.conf"
vimdirurl = "http://dl.dropbox.com/u/2888062/vimdir.tar.bz2"
envupdate = "https://raw.github.com/staticsafe/dotfiles/master/envupdate.sh"
def sudocheck():
#sudocheck
@ -84,7 +85,10 @@ def checksandactions():
print "Setting default shell for this user to zsh! Log out and log back in to see changes."
setzsh = call("chsh -s $(which zsh)", shell = True)
zshhistory = call("touch ~/.zhistory", shell = True)
#Downloads environment update script
urldownload(confurl = envupdate)
scriptperm = call("chmod a+x envupdate.sh", shell = True)
def envArch():
sudocheck()
#Install relevant packages
@ -136,4 +140,4 @@ def main():
raise SystemExit
if __name__ == "__main__":
main()
main()