userinstall

user-setup

13:d7c0013047a1
2007-09-16 Paul Boddie Added tag rel-0-1 for changeset c42c5a534f78
     1 #!/bin/bash     2 # Usage: user-setup [ <mirror> ]     3      4 # Configuration:     5 if [ -e userinstall-defaults ]; then     6         source userinstall-defaults     7 elif [ -e /etc/default/userinstall ]; then     8         source /etc/default/userinstall     9 else    10         echo "No defaults found for userinstall."    11 	exit 1    12 fi    13     14 if [ $1 == "--help" ]; then    15 	echo "Usage: user-setup [ <mirror> ]"    16 	echo    17 	echo "Examples:"    18 	echo    19 	echo "user-setup"    20 	echo "user-setup file:///tmp/$DISTNAME/"    21 	exit 1    22 fi    23     24 fakeroot fakechroot debootstrap --variant=fakechroot $DISTNAME $PACKAGEROOT $1