Commit a721c3d3 authored by Holger Levsen's avatar Holger Levsen
Browse files

make it work with sid and unstable

parent 71d49151
...@@ -17,7 +17,7 @@ cleanup_all() { ...@@ -17,7 +17,7 @@ cleanup_all() {
TMPPYPI=$(mktemp -t diffoscope-pypi-XXXXXXXX) TMPPYPI=$(mktemp -t diffoscope-pypi-XXXXXXXX)
trap cleanup_all INT TERM EXIT trap cleanup_all INT TERM EXIT
DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|grep unstable| cut -d "|" -f2 || true) DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep '(unstable|sid)'| cut -d "|" -f2 || true)
curl https://pypi.python.org/pypi/diffoscope/ -o $TMPPYPI curl https://pypi.python.org/pypi/diffoscope/ -o $TMPPYPI
DIFFOSCOPE_IN_PYPI=$(grep "<title>" $TMPPYPI | cut -d ">" -f2- | cut -d ":" -f1 |cut -d " " -f2) DIFFOSCOPE_IN_PYPI=$(grep "<title>" $TMPPYPI | cut -d ">" -f2- | cut -d ":" -f1 |cut -d " " -f2)
echo echo
......
Supports Markdown
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