1.1 --- a/user-setup-as-root Fri Jul 25 00:54:42 2008 +0200
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,28 +0,0 @@
1.4 -#!/bin/bash
1.5 -# Usage: user-setup [ <mirror> ]
1.6 -
1.7 -# Configuration:
1.8 -if [ -e userinstall-defaults ]; then
1.9 - source userinstall-defaults
1.10 -elif [ -e /etc/default/userinstall ]; then
1.11 - source /etc/default/userinstall
1.12 -else
1.13 - echo "No defaults found for userinstall."
1.14 - exit 1
1.15 -fi
1.16 -
1.17 -if [[ $1 == "--help" ]]; then
1.18 - echo "Usage: user-setup [ <mirror> ]"
1.19 - echo
1.20 - echo "Examples:"
1.21 - echo
1.22 - echo "user-setup"
1.23 - echo "user-setup file:///tmp/$DISTNAME/"
1.24 - exit 1
1.25 -fi
1.26 -
1.27 -debootstrap $DISTNAME $PACKAGEROOT $1
1.28 -
1.29 -# If the fakeroot/fakechroot things were the only problem, we would run the
1.30 -# following command and use the libraries as usual.
1.31 -#chown -R $USER.$USER $PACKAGEROOT