Clarify user check comment and echo
@@ -8,9 +8,10 @@ then
source /etc/environment
fi
+# Virtualenv scripts need to be run as www
if [ "${USER}" != "${TWLIGHT_UNIXNAME}" ]
then
- echo "virtualenv must be run as ${TWLIGHT_UNIXNAME}!"
+ echo "virtualenv must be run as ${TWLIGHT_UNIXNAME}! Try \"sudo su ${TWLIGHT_UNIXNAME}\""
exit 1
fi
