summaryrefslogtreecommitdiffstats
path: root/hosts/cbxi4pro0-armhf-rb/etc/rc.local
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-11-06 15:03:55 +0100
committerMattia Rizzolo <mattia@debian.org>2017-11-06 15:03:55 +0100
commitaf8f129dc6ccff46919bb136ee460aa892dc660f (patch)
treee3e04d19879f08cf7e7286f4f007a793a7f35a0d /hosts/cbxi4pro0-armhf-rb/etc/rc.local
parentc45bf9c48100cb6ceb273fc474af52aa1f20721f (diff)
downloadjenkins.debian.net-af8f129dc6ccff46919bb136ee460aa892dc660f.tar.xz
udd-query: multiarch_versionskew: check the count of elements in the file instead of file size
psql now always print at least a newline, even if no records are returned, that broke our `[ -s $UDD ]` check. Read the whole file once and put it in a bash array for futher usage, including counting the elements. Closes: #864238 Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Diffstat (limited to 'hosts/cbxi4pro0-armhf-rb/etc/rc.local')
0 files changed, 0 insertions, 0 deletions