Remove unwanted file
[distcook] / cook
1 #! /bin/sh -xe
2
3 # Export safe locale
4 export LC_ALL=C
5
6 # Extract configuration
7 echo '#! /bin/sh -e' > lib/config.sh
8 cat config/*.conf | perl -pne 'if (/^#/) {undef $_;} else {s/^/export /;}' >> lib/config.sh
9
10 # Source config
11 . lib/config.sh
12
13 # Configure urpmi
14 #. lib/urpmi.sh
15
16 # Install rpm
17 . lib/install.sh
18
19 # Setup urpmi
20 . lib/setup.sh
21
22 # Fix various patterns
23 . lib/pattern.sh
24
25 # Export config
26 . lib/export.sh