Skip to content

Commit ab7a978

Browse files
committed
Bug#36795664 Upgrading with DNF/RPM from 8.4.0 fails due to conflict -- post push fix
The scriplet must always succeed
1 parent b20056f commit ab7a978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/mysql-connector-c++.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ mv -v %{buildroot}%{_libdir}/plugin/* %{buildroot}%{plugin_dir}
215215
rm -rf %{buildroot}%{_libdir}/{plugin,private}
216216

217217
%pretrans devel
218-
test -L /usr/include/mysql-cppconn && rm -f /usr/include/mysql-cppconn
218+
test -L /usr/include/mysql-cppconn && rm -f /usr/include/mysql-cppconn || true
219219

220220
%post
221221
/sbin/ldconfig

0 commit comments

Comments
 (0)