Debian Codegraph @

debian/fix-version

raw
1 #!/bin/bash
2
3 CMP=$1
4 DEBVERSION=$2
5
6 CMPVERSION=`pkgjs-pjson $CMP version`
7
8 if dpkg --compare-versions $CMPVERSION-1 gt "4.13.1+~cs12.12.4-1"; then
9 echo $CMPVERSION~$DEBVERSION
10 else
11 echo 4.13.1+really-$CMPVERSION~$DEBVERSION
12 fi