View | Details | Raw Unified | Return to bug 247413 | Differences between
and this patch

Collapse All | Expand All

(-)files/mysql-server.in (working copy) (-5 / +5 lines)
Lines 120-133 Link Here
120
                       return 1
120
                       return 1
121
               fi
121
               fi
122
       done
122
       done
123
       [ "${mysql_socket}" = "" ] && mysql_rundir="%%MARIADB_RUNDIR%%" || mysql_rundir="`/usr/bin/dirname ${mysql_socket}`"
124
       if [ ! -d "${mysql_rundir}" ]; then
125
               local mysql_group="`/usr/bin/id -gn ${mysql_user}`" || return 1
126
               install -d -o ${mysql_user} -g ${mysql_group} "${mysql_rundir}" || return 1
127
       fi
123
       if [ ! -d "${mysql_dbdir}/mysql/." ]; then
128
       if [ ! -d "${mysql_dbdir}/mysql/." ]; then
124
               mysql_create_auth_tables || return 1
129
               mysql_create_auth_tables || return 1
125
       fi
130
       fi
126
       [ "${mysql_socket}" = "" ] && mysql_rundir="%%MARIADB_RUNDIR%%" || mysql_rundir="`/usr/bin/dirname ${mysql_socket}`"
127
       if [ ! -d "${mysql_rundir}" ]; then
128
               install -d -o ${mysql_user} -g %%MARIADB_GROUP%% "${mysql_rundir}"
129
130
       fi
131
%%LEGACY_LIMITS%%      if checkyesno mysql_limits; then
131
%%LEGACY_LIMITS%%      if checkyesno mysql_limits; then
132
%%LEGACY_LIMITS%%              eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null
132
%%LEGACY_LIMITS%%              eval `/usr/bin/limits ${mysql_limits_args}` 2>/dev/null
133
%%LEGACY_LIMITS%%      else
133
%%LEGACY_LIMITS%%      else

Return to bug 247413