From f16595ee838b40afd881be48b580aaf0f51feb9b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 14 Jun 2015 19:28:30 +0100 Subject: [PATCH] Rename the downloaded onerng package --- src/freedombone | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedombone b/src/freedombone index 52789df9..99bba613 100755 --- a/src/freedombone +++ b/src/freedombone @@ -112,7 +112,7 @@ HWRNG_TYPE= # Download location for OneRNG driver ONERNG_PACKAGE="onerng_3.3-1_all.deb" -ONERNG_PACKAGE_DOWNLOAD="https://github.com/OneRNG/onerng.github.io/blob/master/sw/$ONERNG_PACKAGE" +ONERNG_PACKAGE_DOWNLOAD="https://github.com/OneRNG/onerng.github.io/blob/master/sw/$ONERNG_PACKAGE?raw=true" # Hash for OneRNG driver ONERNG_PACKAGE_HASH='a9801993ffef1cc19778f5613f1837aca4212a0d299d75bd524134f865774928' @@ -4766,6 +4766,7 @@ function install_onerng { # Download the package if [ ! -f $ONERNG_PACKAGE ]; then wget $ONERNG_PACKAGE_DOWNLOAD + mv "$ONERNG_PACKAGE?raw=true" $ONERNG_PACKAGE fi if [ ! -f $ONERNG_PACKAGE ]; then echo "OneRNG package could not be downloaded"