diff options
author | James Booth <boothj5@gmail.com> | 2014-02-25 22:47:19 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-02-25 22:47:19 +0000 |
commit | a0df7f79446fde68a7610de7de374b74880e5dd9 (patch) | |
tree | 396bfaa644a90f0d58938e729436ea84db014eb0 | |
parent | a9980621dccd0dde7af8510c0fc7c8f15d6d366c (diff) | |
parent | b2cb466227fd2046f4f0e4c788f7f123d5c0a4eb (diff) | |
download | profani-tty-a0df7f79446fde68a7610de7de374b74880e5dd9.tar.gz |
Merge remote-tracking branch 'william20111/master' into opensuse
-rwxr-xr-x | install-all.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/install-all.sh b/install-all.sh index ed9293e6..0e1da522 100755 --- a/install-all.sh +++ b/install-all.sh @@ -39,6 +39,14 @@ fedora_prepare() sudo yum -y install gcc git autoconf automake openssl-devel.$ARCH expat-devel.$ARCH ncurses-devel.$ARCH glib2-devel.$ARCH libnotify-devel.$ARCH libcurl-devel.$ARCH libXScrnSaver-devel.$ARCH libotr3-devel.$ARCH } +opensuse_prepare() +{ + echo + echo Profanity installer...installing dependencies + echo + sudo zypper -n in gcc git automake autoconf libgnutls-openssl-devel expat libexpat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel +} + cygwin_prepare() { echo @@ -150,6 +158,8 @@ if [ "${OS}" = "Linux" ]; then DIST=fedora elif [ -f /etc/debian_version ]; then DIST=debian + elif [ -f /etc/os-release ]; then + DIST=opensuse fi else echo $OS | grep -i cygwin @@ -171,6 +181,10 @@ debian) debian_prepare install_lib_strophe install_profanity ;; +opensuse) opensuse_prepare + install_lib_strophe + install_profanity + ;; cygwin) cygwin_prepare cyg_install_lib_strophe cyg_install_profanity |