2012-05-07 | Paul Boddie | raw annotate files changeset graph | Removed superfluous and non-functioning mount-related commands from the postsetup script, along with an attempt at copying sources lists from special distribution-specific directories. Attempted to tidy up device directory handling for user-do-root, making an empty dev directory where one is missing in --dev mode, and exiting if no dev directory is present in normal mode. Added some comments to the scripts and updated the "to do" items. |
1 #!/bin/sh 2 # Usage: user-path <path-inside-package-root> 3 4 # Configuration: 5 if [ -e userinstall-defaults ]; then 6 . "$PWD/userinstall-defaults" 7 elif [ -e /etc/default/userinstall ]; then 8 . /etc/default/userinstall 9 else 10 echo "No defaults found for userinstall." 1>&2 11 exit 1 12 fi 13 14 echo "$PACKAGEROOT/$1"