Tamarin/hooks/00-detect-debian-format-prebuild

16 lines
295 B
Plaintext
Raw Normal View History

2015-09-23 21:21:30 +02:00
#!/bin/bash
source "${TAMARIN_UTIL}"
if [ -f "debian/source/format" ]; then
format=$(cat debian/source/format)
case ${format} in
"3.0 (native)")
set_opt package_format "native"
;;
"3.0 (quilt)")
set_opt package_format "quilt"
;;
esac
fi