1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-30 04:10:42 +02:00
fpm/test/dir-deb-with-debconf.test
2011-11-30 11:28:53 +01:00

18 lines
327 B
Bash

#!/bin/bash
run() {
mkdir -p $tmpdir/prefix
touch $tmpdir/config
touch $tmpdir/templates
fpm -s dir -t deb -n testing -a all \
--deb-config $tmpdir/config \
--deb-templates $tmpdir/templates \
$tmpdir/prefix
file=testing_1.0_all.deb
dpkg -I $file | grep "\(config\)\|\(templates\)" > $output
rm $file
}