anchor.diff:          # https://github.com/wal-e/wal-e/pull/392
           && curl -sL https://github.com/wal-e/wal-e/pull/392.diff | patch -p1 \
   \
  -        && echo 4.0.0.dev0 > supervisor/version.txt; \
  +        && echo 4.1.1.dev0 > supervisor/version.txt; \
       fi \
       && pip3 install "patroni[kubernetes$EXTRAS]==$PATRONIVERSION" \
   \
  
positive.code:                 fi \
                  && if [ $version != "9.3" ]; then \
                      EXTRAS="$EXTRAS \
                              postgresql-${version}-partman \
                              postgresql-${version}-pglogical \
                              postgresql-${version}-postgis-${POSTGIS_VERSION} \
                              postgresql-${version}-postgis-${POSTGIS_VERSION}-scripts \
  
negative.code:     fi \
  \
      # build and install missing packages
      && sed -i "s/ main.*$/ main/g" /etc/apt/sources.list.d/pgdg.list \
      && apt-get update \
      && apt-get install -y postgresql-server-dev-all libpq-dev \
      && for version in $DEB_PG_SUPPORTED_VERSIONS; do \
          apt-get install -y postgresql-server-dev-${version}; \
      done \
  