summaryrefslogtreecommitdiff
path: root/support-files/rpm
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2017-01-12 03:36:45 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-01-12 03:37:13 +0200
commit1c5ca7c1837b9db071cb2e791d6605f8806af0c1 (patch)
treed8f4983bbb554cf6f2c43e1497313be061d471b7 /support-files/rpm
parent9a4bc0d098a9fba03e88b80db0f921b5ee597123 (diff)
parentab93a4d4df7206833fa4a8eb0aa47b8ba185da60 (diff)
downloadmariadb-git-1c5ca7c1837b9db071cb2e791d6605f8806af0c1.tar.gz
Merge branch '5.5' into 10.0
Diffstat (limited to 'support-files/rpm')
-rw-r--r--support-files/rpm/server-postin.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/support-files/rpm/server-postin.sh b/support-files/rpm/server-postin.sh
index cd2aec4d84a..377a752824d 100644
--- a/support-files/rpm/server-postin.sh
+++ b/support-files/rpm/server-postin.sh
@@ -79,7 +79,12 @@ if [ -f /etc/redhat-release ] ; then
echo ' make load'
echo
echo
- fi
+ fi
+ if grep 'CentOS release 6' /etc/redhat-release >/dev/null 2>&1; then
+ if [ -x /usr/sbin/semodule ] ; then
+ /usr/sbin/semodule -i /usr/share/mysql/SELinux/centos6-mariadb.pp
+ fi
+ fi
fi
if [ -x sbin/restorecon ] ; then