|
@ -6,16 +6,16 @@ function ee_mod_repo_php() |
|
|
if [ "$EE_LINUX_DISTRO" == "Ubuntu" ]; then |
|
|
if [ "$EE_LINUX_DISTRO" == "Ubuntu" ]; then |
|
|
|
|
|
|
|
|
# Add ondrej php5 launchpad repository |
|
|
# Add ondrej php5 launchpad repository |
|
|
ee_lib_echo "Adding ondrej php5 launchpad repository, please wait..." |
|
|
ee_lib_echo "Adding Ondrej PHP5 launchpad repository, please wait..." |
|
|
add-apt-repository -y ppa:ondrej/php5 &>> $EE_COMMAND_LOG \ |
|
|
add-apt-repository -y ppa:ondrej/php5 &>> $EE_COMMAND_LOG \ |
|
|
|| ee_lib_error "Unable to add ondrej php5 launchpad repository, exit status = " $? |
|
|
|| ee_lib_error "Unable to add ondrej php5 launchpad repository, exit status = " $? |
|
|
|
|
|
|
|
|
# Debian 6 |
|
|
# Debian 6 |
|
|
elif [ $EE_DEBIAN_VERSION -eq 6 ]; then |
|
|
elif [ $EE_DEBIAN_VERSION -eq 6 ]; then |
|
|
|
|
|
|
|
|
ee_lib_echo "Adding Dotdeb php5.4 repository, please wait..." |
|
|
ee_lib_echo "Adding Dotdeb PHP5.4 repository, please wait..." |
|
|
echo "deb http://packages.dotdeb.org $(lsb_release -c | awk '{print($2)}')-php54 all" > /etc/apt/sources.list.d/dotdeb-$(lsb_release -c | awk '{print($2)}')-php54.list \ |
|
|
echo "deb http://packages.dotdeb.org $(lsb_release -c | awk '{print($2)}')-PHP54 all" > /etc/apt/sources.list.d/dotdeb-$(lsb_release -c | awk '{print($2)}')-php54.list \ |
|
|
|| ee_lib_error "Unable to add Dotdeb php5.4 repository, exit status = " $? |
|
|
|| ee_lib_error "Unable to add Dotdeb PHP5.4 repository, exit status = " $? |
|
|
|
|
|
|
|
|
# Fetch and install Dotdeb GnuPG key |
|
|
# Fetch and install Dotdeb GnuPG key |
|
|
ee_lib_dotdeb |
|
|
ee_lib_dotdeb |
|
@ -23,9 +23,9 @@ function ee_mod_repo_php() |
|
|
# Debian 7 |
|
|
# Debian 7 |
|
|
elif [ $EE_DEBIAN_VERSION -eq 7 ]; then |
|
|
elif [ $EE_DEBIAN_VERSION -eq 7 ]; then |
|
|
|
|
|
|
|
|
ee_lib_echo "Adding Dotdeb php5.5 repository, please wait..." |
|
|
ee_lib_echo "Adding Dotdeb PHP5.5 repository, please wait..." |
|
|
echo "deb http://packages.dotdeb.org $(lsb_release -c | awk '{print($2)}')-php55 all" > /etc/apt/sources.list.d/dotdeb-$(lsb_release -c | awk '{print($2)}')-php55.list \ |
|
|
echo "deb http://packages.dotdeb.org $(lsb_release -c | awk '{print($2)}')-PHP55 all" > /etc/apt/sources.list.d/dotdeb-$(lsb_release -c | awk '{print($2)}')-php55.list \ |
|
|
|| ee_lib_error "Unable to add Dotdeb php5.5 repository, exit status = " $? |
|
|
|| ee_lib_error "Unable to add Dotdeb PHP5.5 repository, exit status = " $? |
|
|
|
|
|
|
|
|
# Fetch and install dotdeb GnuPG key |
|
|
# Fetch and install dotdeb GnuPG key |
|
|
ee_lib_dotdeb |
|
|
ee_lib_dotdeb |
|
|