1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed sudo from cygwin install

This commit is contained in:
James Booth 2012-09-08 17:58:42 +01:00
parent 24a604494d
commit 8f0bc28bd4

View File

@ -61,7 +61,6 @@ install_lib_strophe()
git clone git://github.com/metajack/libstrophe.git git clone git://github.com/metajack/libstrophe.git
cd libstrophe cd libstrophe
./bootstrap.sh ./bootstrap.sh
./bootstrap.sh # second call seems to fix problem on cygwin
./configure ./configure
make make
sudo make install sudo make install
@ -80,6 +79,46 @@ install_profanity()
sudo make install sudo make install
} }
cyg_install_head_unit()
{
echo
echo Profanity installer... installing head-unit
echo
git clone git://github.com/boothj5/head-unit.git
cd head-unit
make
make install
cd ..
}
cyg_install_lib_strophe()
{
echo
echo Profanity installer... installing libstrophe
echo
git clone git://github.com/metajack/libstrophe.git
cd libstrophe
./bootstrap.sh
./bootstrap.sh # second call seems to fix problem on cygwin
./configure
make
make install
cd ..
}
cyg_install_profanity()
{
echo
echo Profanity installer... installing Profanity
echo
./bootstrap.sh
./configure
make
make install
}
cleanup() cleanup()
{ {
echo echo
@ -121,14 +160,20 @@ unknown) echo The install script will not work on this OS.
exit exit
;; ;;
fedora) fedora_prepare fedora) fedora_prepare
install_head_unit
install_lib_strophe
install_profanity
;; ;;
debian) debian_prepare debian) debian_prepare
install_head_unit
install_lib_strophe
install_profanity
;; ;;
cygwin) cygwin_prepare cygwin) cygwin_prepare
cyg_install_head_unit
cyg_install_lib_strophe
cyg_install_profanity
;; ;;
esac esac
install_head_unit
install_lib_strophe
install_profanity
cleanup cleanup