mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1148 from YunoHost/prevent_apache2_install
Prevent the installation of apache2 ...
This commit is contained in:
commit
a105b58541
1 changed files with 33 additions and 0 deletions
|
@ -15,6 +15,39 @@ Package: $package
|
||||||
Pin: origin \"packages.sury.org\"
|
Pin: origin \"packages.sury.org\"
|
||||||
Pin-Priority: -1" >> "${pending_dir}/etc/apt/preferences.d/extra_php_version"
|
Pin-Priority: -1" >> "${pending_dir}/etc/apt/preferences.d/extra_php_version"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "
|
||||||
|
# Yes !
|
||||||
|
# This is what's preventing you from installing apache2 !
|
||||||
|
#
|
||||||
|
# Maybe take two fucking minutes to realize that if you try to install
|
||||||
|
# apache2, this will break nginx and break the entire YunoHost ecosystem.
|
||||||
|
# on your server.
|
||||||
|
#
|
||||||
|
# So, *NO*
|
||||||
|
# DO NOT do this.
|
||||||
|
# DO NOT remove these lines.
|
||||||
|
#
|
||||||
|
# I warned you. I WARNED YOU! But did you listen to me?
|
||||||
|
# Oooooh, noooo. You knew it all, didn't you?
|
||||||
|
|
||||||
|
Package: apache2
|
||||||
|
Pin: release *
|
||||||
|
Pin-Priority: -1
|
||||||
|
|
||||||
|
Package: apache2-bin
|
||||||
|
Pin: release *
|
||||||
|
Pin-Priority: -1
|
||||||
|
|
||||||
|
# Also yes, bind9 will conflict with dnsmasq.
|
||||||
|
# Same story than for apache2.
|
||||||
|
# Don't fucking install it.
|
||||||
|
|
||||||
|
Package: bind9
|
||||||
|
Pin: release *
|
||||||
|
Pin-Priority: -1
|
||||||
|
" >> "${pending_dir}/etc/apt/preferences.d/ban_packages"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_post_regen() {
|
do_post_regen() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue