mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Fix more breakage
This commit is contained in:
@@ -24,7 +24,7 @@ FW_PATH="${BOOT_PATH}"
|
|||||||
FW_MODPATH="${ROOT_PATH}/lib/modules"
|
FW_MODPATH="${ROOT_PATH}/lib/modules"
|
||||||
FW_REV=${1:-""}
|
FW_REV=${1:-""}
|
||||||
GITCMD="git --git-dir=\"${FW_REPOLOCAL}/.git\" --work-tree=\"${FW_REPOLOCAL}\""
|
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() {
|
function update_self() {
|
||||||
echo "Performing self-update"
|
echo "Performing self-update"
|
||||||
|
|||||||
Reference in New Issue
Block a user