#!/bin/sh

if [ `id -u` != 0 ] ; then
	exec sudo python /usr/lib/python2.5/site-packages/aptly/aptly.py "$@"
else
	exec python /usr/lib/python2.5/site-packages/aptly/aptly.py "$@"
fi
