Explorar el Código

Rename the downloaded onerng package

Bob Mottram hace 10 años
padre
commit
f16595ee83
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      src/freedombone

+ 2
- 1
src/freedombone Ver fichero

@@ -112,7 +112,7 @@ HWRNG_TYPE=
112 112
 
113 113
 # Download location for OneRNG driver
114 114
 ONERNG_PACKAGE="onerng_3.3-1_all.deb"
115
-ONERNG_PACKAGE_DOWNLOAD="https://github.com/OneRNG/onerng.github.io/blob/master/sw/$ONERNG_PACKAGE"
115
+ONERNG_PACKAGE_DOWNLOAD="https://github.com/OneRNG/onerng.github.io/blob/master/sw/$ONERNG_PACKAGE?raw=true"
116 116
 # Hash for OneRNG driver
117 117
 ONERNG_PACKAGE_HASH='a9801993ffef1cc19778f5613f1837aca4212a0d299d75bd524134f865774928'
118 118
 
@@ -4766,6 +4766,7 @@ function install_onerng {
4766 4766
   # Download the package
4767 4767
   if [ ! -f $ONERNG_PACKAGE ]; then
4768 4768
       wget $ONERNG_PACKAGE_DOWNLOAD
4769
+      mv "$ONERNG_PACKAGE?raw=true" $ONERNG_PACKAGE
4769 4770
   fi
4770 4771
   if [ ! -f $ONERNG_PACKAGE ]; then
4771 4772
       echo "OneRNG package could not be downloaded"