]> git.decadent.org.uk Git - dak.git/blob - setup/core-init.d/005_components
Merge remote-tracking branch 'jcristau/cs-set-log-suite'
[dak.git] / setup / core-init.d / 005_components
1 #!/bin/sh
2
3 set -e
4 set -u
5
6 echo "Creating components"
7
8 psql -c "INSERT INTO component (name, description, meets_dfsg)
9                         VALUES ('main', 'Main', TRUE)" >/dev/null
10
11 psql -c "INSERT INTO component (name, description, meets_dfsg)
12                         VALUES ('contrib', 'Contrib', TRUE)" >/dev/null
13
14 psql -c "INSERT INTO component (name, description, meets_dfsg)
15                         VALUES ('non-free', 'Software that fails to meet the DFSG', FALSE)" >/dev/null