mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added centos to install-all.sh
This commit is contained in:
parent
55b3e9d48f
commit
f736a248f7
@ -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
|
||||
}
|
||||
|
||||
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()
|
||||
{
|
||||
echo
|
||||
@ -157,6 +169,8 @@ if [ "${OS}" = "Linux" ]; then
|
||||
DIST=debian
|
||||
elif [ -f /etc/os-release ]; then
|
||||
DIST=opensuse
|
||||
elif [ -f /etc/centos-release ]; then
|
||||
DIST=centos
|
||||
fi
|
||||
else
|
||||
echo $OS | grep -i cygwin
|
||||
@ -183,6 +197,11 @@ opensuse) opensuse_prepare
|
||||
sudo /sbin/ldconfig
|
||||
install_profanity
|
||||
;;
|
||||
centos) centos_prepare
|
||||
install_lib_strophe /usr
|
||||
sudo ldconfig
|
||||
install_profanity
|
||||
;;
|
||||
cygwin) cygwin_prepare
|
||||
cyg_install_lib_strophe
|
||||
cyg_install_profanity
|
||||
|
Loading…
Reference in New Issue
Block a user