Skip to content

Commit 87b2221

Browse files
committed
Merge branch 'mysql-5.5' into mysql-5.6
2 parents ea0fe85 + fd98314 commit 87b2221

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
@@ -626,7 +626,7 @@ rm -r $(readlink var) var
626626

627627
%pre server
628628
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
629-
/usr/sbin/useradd -M -N -g mysql -o -r -d /var/lib/mysql -s /bin/bash \
629+
/usr/sbin/useradd -M %{!?el5:-N} -g mysql -o -r -d /var/lib/mysql -s /bin/bash \
630630
-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
631631

632632
%post server

0 commit comments

Comments
 (0)