Fix "docker port" usage.
[arvados.git] / build / run-library.sh
index 06aec50501d4572c163d2f0a5ed88ba950e474eb..10760959008539f2bf6706c23136469af403d898 100755 (executable)
@@ -660,6 +660,10 @@ fpm_build_virtualenv () {
     COMMAND_ARR+=('--depends' "$i")
   done
 
+  for i in "${fpm_depends[@]}"; do
+    COMMAND_ARR+=('--replaces' "python-$PKG")
+  done
+
   # make sure the systemd service file ends up in the right place
   # used by arvados-docker-cleaner
   if [[ -e "${systemd_unit}" ]]; then