Skip to content

Commit ccfab0f

Browse files
committed
Merge branch 'mysql-5.6' into mysql-5.7
2 parents 5d9afb6 + 87b2221 commit ccfab0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/rpm-oel/mysql.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ rm -r $(readlink var) var
669669

670670
%pre server
671671
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
672-
/usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/false \
672+
/usr/sbin/useradd -M %{!?el5:-N} -g mysql -o -r -d /var/lib/mysql -s /bin/bash \
673673
-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
674674

675675
%post server

0 commit comments

Comments
 (0)