Tamarin/hooks/00-detect-debian-format-pre...

16 lines
295 B
Bash
Executable File

#!/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