#!bin/bash #ou je le met ? DEFAULT_INSTALL_PATH='/home' if [ $# -lt 1 ]; then echo -n "Enter the installation path [$DEFAULT_INSTALL_PATH]: " read INSTALL_PATH [ "z$INSTALL_PATH" = "z" ] && INSTALL_PATH=$DEFAULT_INSTALL_PATH else INSTALL_PATH="$1" fi echo -n "installation d unreal et des services anope in \"$INSTALL_PATH\" [y/n] " read answer if [ "$answer" != 'y' -a "$answer" != 'Y' ]; then echo "abort" exit 1 fi #unreal3.2.6:/ wget http://bdd.eXolia.net/serveurs/Unreal3.2.6.tar.gz && tar zxvf Unreal3.2.6.tar.gz && cd Unreal3.2 && ./Config && make #services :/ wget http://bdd.eXolia.net/services/anope-1.7.18.tar.gz && tar zxvf anope-1.7.18.tar.gz && cd anope-1.7.18 && ./Config && make && make install