Commit 634b064d authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Fix odb install step

parent 689729d7
......@@ -25,8 +25,8 @@ export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild"
if [ "@PLATFORM@" = "Debian" ]; then
DEBS_TOPDIR="$RPM_TOPDIR/DEBS"
mkdir -p "$DEBS_TOPDIR" && cd "$DEBS_TOPDIR"
find "$RPM_TOPDIR/RPMS" -iname "odb_*.rpm" -exec fakeroot alien -d {} +
find "$DEBS_TOPDIR" -iname "odb_*.deb" -exec sudo dpkg -i {} +
find "$RPM_TOPDIR/RPMS" -iname "odb-*.rpm" -exec fakeroot alien -d {} +
find "$DEBS_TOPDIR" -iname "odb-*.deb" -exec sudo dpkg -i {} +
else
find "$RPM_TOPDIR/RPMS" -iname "odb_*.rpm" -exec sudo rpm -ivh --force {} +
find "$RPM_TOPDIR/RPMS" -iname "odb-*.rpm" -exec sudo rpm -ivh --force {} +
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