solaris needs recursive rm due to being a directory
This commit is contained in:
parent
dc53d01aeb
commit
c334060603
@ -495,7 +495,7 @@ rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/init.d/mysql
|
|||||||
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/mysql
|
rm -f ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/mysql
|
||||||
|
|
||||||
# remove solaris files
|
# remove solaris files
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_datadir}/solaris/
|
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/solaris/
|
||||||
|
|
||||||
%pre server
|
%pre server
|
||||||
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
|
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
|
||||||
|
Loading…
Reference in New Issue
Block a user