2012-09-10 | Paul Boddie | file changeset files shortlog | Added marker files indicating usage of mounted devices so that such devices are not then unmounted by terminating processes that have been sharing the same system. Fixed the help message output. |
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" |