diff options
author | James Booth <boothj5@gmail.com> | 2015-10-13 19:34:34 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-10-13 19:34:34 +0100 |
commit | 36fe125c657707cea068e0f6b480bcc581e3a522 (patch) | |
tree | 32a65143c3f2ea0494d2db2c3656bf9859d0fc41 | |
parent | 9c08211119605d744e75148ce7bcae64b7cffd7a (diff) | |
parent | ee8ec99e0fb5f8852d4ea8445ac4e26f043dc56b (diff) | |
download | profani-tty-36fe125c657707cea068e0f6b480bcc581e3a522.tar.gz |
Merge remote-tracking branch 'halfur/master' into apt-get
-rwxr-xr-x | install-all.sh | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/install-all.sh b/install-all.sh index 9c975c1a..641423f6 100755 --- a/install-all.sh +++ b/install-all.sh @@ -63,12 +63,7 @@ cygwin_prepare() echo Profanity installer... installing dependencies echo - wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg - #wget --no-check-certificate https://raw.github.com/boothj5/apt-cyg/master/apt-cyg - #wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg - chmod +x apt-cyg - mv apt-cyg /usr/local/bin/ - + if ! command -v apt-cyg &>/dev/null; then cyg_install_apt_cyg; fi if [ -n "$CYG_MIRROR" ]; then apt-cyg -m $CYG_MIRROR install git make gcc-core m4 automake autoconf pkg-config openssl-devel libexpat-devel zlib-devel libncursesw-devel libglib2.0-devel libcurl-devel libidn-devel libssh2-devel libkrb5-devel openldap-devel libgcrypt-devel libreadline-devel libgpgme-devel libtool else @@ -105,6 +100,18 @@ install_profanity() sudo make install } +cyg_install_apt_cyg() +{ + echo + echo Profanity installer... installing apt-cyg + echo + wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg + #wget --no-check-certificate https://raw.github.com/boothj5/apt-cyg/master/apt-cyg + #wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg + chmod +x apt-cyg + mv apt-cyg /usr/local/bin/ + +} cyg_install_lib_mesode() { echo |