2007-08-26 | Paul Boddie | file changeset files shortlog | Let the local defaults file override any system defaults. Remove the apt-get -f install invocation upon setup. |
paul@0 | 1 | #!/bin/bash |
paul@0 | 2 | |
paul@0 | 3 | # Configuration: |
paul@2 | 4 | if [ -e userinstall-defaults ]; then |
paul@2 | 5 | source userinstall-defaults |
paul@2 | 6 | elif [ -e /etc/defaults/userinstall ]; then |
paul@2 | 7 | source /etc/defaults/userinstall |
paul@0 | 8 | else |
paul@2 | 9 | echo "No defaults found for userinstall." |
paul@2 | 10 | exit 1 |
paul@0 | 11 | fi |
paul@0 | 12 | |
paul@0 | 13 | fakeroot fakechroot chroot $PACKAGEROOT apt-get $* |