Commits

José Antonio Pérez Sánchez committed b2436b4

move versions to variables in install scripts; upgrade tmux to 1.7

  • Participants
  • Parent commits 56ba363

Comments (0)

Files changed (2)

 #!/bin/bash -e
 apps_dir=$HOME/apps
 tmux_dir=$apps_dir/tmux
-tmux_url=http://sourceforge.net/projects/tmux/files/tmux/tmux-1.6/tmux-1.6.tar.gz/download
-tmux_tar=tmp/tmux-1.6.tar.gz
-tmux_build_dir=tmp/tmux-1.6
+tmux_version=1.7
+tmux_url=http://sourceforge.net/projects/tmux/files/tmux/tmux-${tmux_version}/tmux-${tmux_version}.tar.gz/download
+tmux_tar=tmp/tmux-${tmux_version}.tar.gz
+tmux_build_dir=tmp/tmux-${tmux_version}
 mkdir -p $tmux_build_dir
 
 # get helper function
 #!/bin/bash -e
 apps_dir=$HOME/apps
 zsh_dir=$apps_dir/zsh
-zsh_url=http://sourceforge.net/projects/zsh/files/zsh/5.0.0/zsh-5.0.0.tar.bz2/download
-zsh_tar=tmp/zsh-5.0.0.tar.bz2
-zsh_build_dir=tmp/zsh-5.0.0
+zsh_version=5.0.0
+zsh_url=http://sourceforge.net/projects/zsh/files/zsh/${zsh_version}/zsh-${zsh_version}.tar.bz2/download
+zsh_tar=tmp/zsh-${zsh_version}.tar.bz2
+zsh_build_dir=tmp/zsh-${zsh_version}
 mkdir -p $zsh_build_dir
 
 # get helper function