2012-03-09 | Paul Boddie | file changeset files shortlog | Fixed/improved the documentation; added a link in the "to do" list to a debootstrap tutorial that could be useful in letting userinstall areas be promoted to bootable systems. |
paul@31 | 1 | #!/bin/sh |
paul@22 | 2 | # Usage: user-path <path-inside-package-root> |
paul@7 | 3 | |
paul@7 | 4 | # Configuration: |
paul@7 | 5 | if [ -e userinstall-defaults ]; then |
paul@31 | 6 | . "$PWD/userinstall-defaults" |
paul@10 | 7 | elif [ -e /etc/default/userinstall ]; then |
paul@31 | 8 | . /etc/default/userinstall |
paul@7 | 9 | else |
paul@34 | 10 | echo "No defaults found for userinstall." 1>&2 |
paul@7 | 11 | exit 1 |
paul@7 | 12 | fi |
paul@7 | 13 | |
paul@30 | 14 | echo "$PACKAGEROOT/$1" |