From e3dea3de5cb077c77d0630b625a28c9f5a5b63ca Mon Sep 17 00:00:00 2001 From: Liam McLoughlin Date: Wed, 26 Dec 2012 04:09:43 +0000 Subject: [PATCH] Fix more breakage --- rpi-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-update b/rpi-update index e73e103..796f4f2 100755 --- a/rpi-update +++ b/rpi-update @@ -24,7 +24,7 @@ FW_PATH="${BOOT_PATH}" FW_MODPATH="${ROOT_PATH}/lib/modules" FW_REV=${1:-""} GITCMD="git --git-dir=\"${FW_REPOLOCAL}/.git\" --work-tree=\"${FW_REPOLOCAL}\"" -[ "${RPI_UPDATE_UNSUPPORTED}" -eq 0 ] && echo -e "You appear to be trying to update firmware on an incompatible distribution. To force update, run the following:\nRPI_UPDATE_UNSUPPORTED=1 sudo ./rpi-update"; exit 1 +[ "${RPI_UPDATE_UNSUPPORTED}" -ne 0 ] && echo -e "You appear to be trying to update firmware on an incompatible distribution. To force update, run the following:\nsudo -E RPI_UPDATE_UNSUPPORTED=1 ./rpi-update" && exit 1 function update_self() { echo "Performing self-update"