summaryrefslogtreecommitdiffstats
path: root/.pbuilderrc
diff options
context:
space:
mode:
Diffstat (limited to '.pbuilderrc')
-rw-r--r--.pbuilderrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/.pbuilderrc b/.pbuilderrc
new file mode 100644
index 0000000..1ac5ca2
--- /dev/null
+++ b/.pbuilderrc
@@ -0,0 +1,18 @@
+case "${DIST}" in
+ 'robur' | 'dwyn' | 'awen' | 'taranis' | 'slaine' | 'dagda' | \
+ 'brigantia' | 'toutatis' | 'belenos' | 'flidas' | 'etiona')
+ VENDOR='trisquel'
+ ;;
+ '')
+ printf 'Error: DIST not set\n'
+ exit 1
+ ;;
+ *)
+ printf 'Error: Unsupported distribution "%s"\n' "${DIST}"
+ exit 1
+ ;;
+esac
+
+. "${HOME}/.pbuilderrc.d/${VENDOR}"
+
+HOOKDIR="${HOME}/.pbuilder/hooks/${VENDOR}"