#!/bin/bash
# Usage: user-apt-get [ <apt-get-options> ]

# Configuration:
if [ -e userinstall-defaults ]; then
        source userinstall-defaults
elif [ -e /etc/default/userinstall ]; then
        source /etc/default/userinstall
else
        echo "No defaults found for userinstall."
        exit 1
fi

fakeroot fakechroot chroot $PACKAGEROOT apt-get $*
