From c2b7a066974758ff264fad3248539ff7610ea4be Mon Sep 17 00:00:00 2001 From: Sadiq Saif Date: Sat, 21 Jan 2012 13:19:40 -0500 Subject: [PATCH] adding envupdate script download --- envsetup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/envsetup.py b/envsetup.py index 740fb31..9a7cdcd 100644 --- a/envsetup.py +++ b/envsetup.py @@ -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() \ No newline at end of file + main()