Commit 4e74c525 authored by jehan's avatar jehan

allow created rpm to replace newer if needed

parent 535ffb9d
......@@ -32,6 +32,6 @@ if [ "@PLATFORM@" = "Debian" ]; then
find "$RPM_TOPDIR/RPMS" -iname "*@LINPHONE_BUILDER_RPMBUILD_NAME@*.rpm" -exec fakeroot alien -d {} +
find "$DEBS_TOPDIR" -iname "*@LINPHONE_BUILDER_RPMBUILD_NAME@*.deb" -exec sudo dpkg -i {} +
else
find "$RPM_TOPDIR/RPMS" -iname "*@LINPHONE_BUILDER_RPMBUILD_NAME@*.rpm" -exec sudo rpm -Uvh --replacefiles --replacepkgs {} +
#--replacefiles --replacepkgs because same package version is installed/built several time on the same machine
find "$RPM_TOPDIR/RPMS" -iname "*@LINPHONE_BUILDER_RPMBUILD_NAME@*.rpm" -exec sudo rpm -Uvh --replacefiles --replacepkgsi --oldpackage {} +
#--replacefiles --replacepkgs --oldpackage because same package version and sometime newer is installed/built several time on the same machine
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment