Fix for Debian 8
This commit is contained in:
parent
2882684436
commit
3a23bcb831
2 changed files with 4 additions and 4 deletions
|
@ -141,8 +141,8 @@ function apacheUseFPM(){
|
|||
|
||||
# Harder to use PPAs from Ubuntu on Debian, but still possible :)
|
||||
if [ "$distro" == "debian" ] && [ "$yrelease" -eq "8" ]; then
|
||||
sed -i "s/cosmic/trusty/g" "/etc/apt/sources.list.d/ondrej-ubuntu-apache2-cosmic.list"
|
||||
sed -i "s/cosmic/trusty/g" "/etc/apt/sources.list.d/ondrej-ubuntu-apache2-cosmic.list.save"
|
||||
sed -i "s/jessie/trusty/g" "/etc/apt/sources.list.d/ondrej-apache2-jessie.list"
|
||||
sed -i "s/jessie/trusty/g" "/etc/apt/sources.list.d/ondrej-apache2-jessie.list.save"
|
||||
fi
|
||||
if [ "$distro" == "debian" ] && [ "$yrelease" -eq "9" ]; then
|
||||
sed -i "s/cosmic/xenial/g" "/etc/apt/sources.list.d/ondrej-ubuntu-apache2-cosmic.list"
|
||||
|
|
|
@ -835,8 +835,8 @@ function apacheUseFPM(){
|
|||
|
||||
# Harder to use PPAs from Ubuntu on Debian, but still possible :)
|
||||
if [ "$distro" == "debian" ] && [ "$yrelease" -eq "8" ]; then
|
||||
sed -i "s/cosmic/trusty/g" "/etc/apt/sources.list.d/ondrej-ubuntu-apache2-cosmic.list"
|
||||
sed -i "s/cosmic/trusty/g" "/etc/apt/sources.list.d/ondrej-ubuntu-apache2-cosmic.list.save"
|
||||
sed -i "s/jessie/trusty/g" "/etc/apt/sources.list.d/ondrej-apache2-jessie.list"
|
||||
sed -i "s/jessie/trusty/g" "/etc/apt/sources.list.d/ondrej-apache2-jessie.list.save"
|
||||
fi
|
||||
if [ "$distro" == "debian" ] && [ "$yrelease" -eq "9" ]; then
|
||||
sed -i "s/cosmic/xenial/g" "/etc/apt/sources.list.d/ondrej-ubuntu-apache2-cosmic.list"
|
||||
|
|
Loading…
Reference in a new issue