aboutsummaryrefslogtreecommitdiff
path: root/ruby/default_environment_TEST_setup.sh
blob: 40201bf8432c58bd211236b0641884d968666540 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# vim: set ft=sh sw=4 sts=4 et :

mkdir default_environment_TEST_dir || exit 1
cd default_environment_TEST_dir || exit 1

mkdir -p home/.paludis/repositories

cat <<END > home/.paludis/repositories/nothing.conf
format = nothing
location = /var/empty
name = nothing
END

cat <<END > home/.paludis/keywords.conf
* test
END

cat <<END > home/.paludis/use.conf
* enabled
END

cat <<END > home/.paludis/licenses.conf
* *
END