From d8c73e01db9b978b6d47e8f9af4ce72356027ce4 Mon Sep 17 00:00:00 2001 From: eostre Date: Tue, 15 Sep 2020 13:26:47 -0400 Subject: [PATCH] makefile: install the drupal-fix-404s.conf file and enable it --- drupal-automake-generic/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drupal-automake-generic/Makefile b/drupal-automake-generic/Makefile index b1a8fd7..cf193bf 100644 --- a/drupal-automake-generic/Makefile +++ b/drupal-automake-generic/Makefile @@ -11,7 +11,7 @@ chown-www: # recipes for installing this thing onto a "real" (non-chroot) system # this is enough to get us to a functional Drupal install page # to go further, use the install-from-backups recipe -setup-real-system: probe-files install-pkgs install-drupal do-mysql chown-www +setup-real-system: probe-files install-pkgs install-drupal do-mysql chown-www post-install # test that we have /install-{drupal-toolchain,packages}.sh /pkgs /sqldefaults and /do-mysql-sh # if we don't have all of these files, BAD THINGS may happen @@ -37,6 +37,12 @@ do-mysql: chmod og-rwx /do-mysql.sh chmod 0600 /sqldefaults +post-install: drupal-fix-404s-conf + +drupal-fix-404s-conf: + install conf/drupal-fix-404s.conf /etc/apache2/conf-available/ + a2enconf drupal-fix-404s.conf + # recipes to restore the site from a backup install-from-backups: probe-backup-files install-sqldump install-drupal-sites chown-www -- 2.25.1