Permalink
Browse files

Fix dpkg build on debian stretch.

  • Loading branch information...
aaron42net committed Nov 12, 2016
1 parent 385fd35 commit 4583478eba8d4e534b0ac74e4d559417f4da02c1
Showing with 2 additions and 2 deletions.
  1. +1 −1 cmd/fotomat/version.go
  2. +1 −1 dist/build-dpkg
View
@@ -8,7 +8,7 @@ import (
const (
// FotomatVersion is updated by git-hooks/pre-commit
FotomatVersion = "2.6.202"
FotomatVersion = "2.6.203"
)
var (
View
@@ -24,7 +24,7 @@ dir="$(dirname $0)"
(
perl -ne '/FotomatVersion.*\b(\d+\.\d+\.\d+)/ and print "Version: ${1}-1\n"' $dir/../cmd/fotomat/version.go
ldd $fotomat | awk '($2=="=>"&&substr($3,1,11)!="/usr/local/"){print $3}' | \
ldd $fotomat | awk '($2=="=>"&&substr($3,1,11)!="/usr/local/"){print "*"$3"*"}' | \
xargs dpkg -S | cut -d: -f1 | sort -u | xargs echo "Depends:" | sed 's/ /, /g;s/:,/:/'
) >> $dir/dpkg/fotomat/DEBIAN/control

0 comments on commit 4583478

Please sign in to comment.