1 # actions required by all debian-based OSs
6 $(APT_TOOL) install $(DEBS)
8 # On Ubuntu and possibly Debian, the libdbi0 package prevents the
9 # compiled-from-source version from being used and breaks the install.
10 # This package might get installed depending on the install-time choices
11 # for the distro. Test for its existence; if it's there, throw an error
14 @if [ "$$(apt-cache policy libdbi0 | grep Installed | grep none | wc -l)" -eq 0 ]; then \
15 echo "*** Detected locally installed libdbi0 package; you must remove this"; \
16 echo "*** with a command like 'aptitude remove libdbi0' before proceeding"; \
17 echo "*** to successfully install Evergreen."; \
19 echo "*** Note: this may break other applications on your system."; \
24 # link the apache modules in
25 for m in $(DEB_APACHE_MODS); do a2enmod $$m; done;
26 # keep the bad apache modules away
27 for m in $(DEB_APACHE_DISMODS); do a2dismod -f $$m; done;
28 # keep the bad apache configs away
29 for m in $(DEB_APACHE_DISCONF); do a2disconf $$m; done;
30 # refresh the dynamic library cache