X-Git-Url: https://iankelling.org/git/?p=mediawiki-setup;a=blobdiff_plain;f=mw-setup-script;fp=mw-setup-script;h=cae3ca46e47a63f2005fc1f792353dc1bf831174;hp=7aca959fb344d62421125abdb9cefd5b0a405647;hb=1a26b348cefa35e6a0a4d0b28624f67609daf49c;hpb=44712fafcec81eae9e1908d004054e54b3b5b523
diff --git a/mw-setup-script b/mw-setup-script
index 7aca959..cae3ca4 100755
--- a/mw-setup-script
+++ b/mw-setup-script
@@ -2,9 +2,6 @@
# Copyright (C) 2016 Ian Kelling
# This program is under GPL v. 3 or later, see
#
-#
#
#
@@ -332,7 +313,8 @@ else
# todo, php5-curl equivalent on fedora
yum -y install texlive-cjk ghostscript ImageMagick texlive ocaml
fi
-ln -sf ../../mods-available/curl.ini /etc/php5/apache2/conf.d
+dir=$(dirname $(php -r 'echo(php_ini_loaded_file());'))/../apache2/conf.d
+ln -sf ../../mods-available/curl.ini $dir
service apache2 restart
cd $mw/extensions/Math/math; make # makes texvc
@@ -574,30 +556,3 @@ php $mw/maintenance/update.php -q
EOF
chmod +x $s
#
-#