1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added centos to install-all.sh

This commit is contained in:
James Booth 2015-07-21 00:34:59 +01:00
parent 55b3e9d48f
commit f736a248f7

View File

@ -47,6 +47,18 @@ opensuse_prepare()
sudo zypper -n in gcc git automake make autoconf libopenssl-devel expat libexpat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel readline-devel libtool libuuid-devel sudo zypper -n in gcc git automake make autoconf libopenssl-devel expat libexpat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel readline-devel libtool libuuid-devel
} }
centos_prepare()
{
echo
echo Profanity installer...installing dependencies
echo
sudo yum -y install epel-release
sudo yum -y install git
sudo yum -y install gcc autoconf automake cmake
sudo yum -y install openssl-devel expat-devel ncurses-devel glib2-devel libnotify-devel libcurl-devel libXScrnSaver-devel libotr-devel readline-devel libtool libuuid-devel gpgme-devel
}
cygwin_prepare() cygwin_prepare()
{ {
echo echo
@ -157,6 +169,8 @@ if [ "${OS}" = "Linux" ]; then
DIST=debian DIST=debian
elif [ -f /etc/os-release ]; then elif [ -f /etc/os-release ]; then
DIST=opensuse DIST=opensuse
elif [ -f /etc/centos-release ]; then
DIST=centos
fi fi
else else
echo $OS | grep -i cygwin echo $OS | grep -i cygwin
@ -183,6 +197,11 @@ opensuse) opensuse_prepare
sudo /sbin/ldconfig sudo /sbin/ldconfig
install_profanity install_profanity
;; ;;
centos) centos_prepare
install_lib_strophe /usr
sudo ldconfig
install_profanity
;;
cygwin) cygwin_prepare cygwin) cygwin_prepare
cyg_install_lib_strophe cyg_install_lib_strophe
cyg_install_profanity cyg_install_profanity