mirror of
https://github.com/jordansissel/fpm
synced 2025-08-30 04:10:42 +02:00
18 lines
327 B
Bash
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
|
|
}
|