summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-04-08 18:24:22 +0530
committerAndinus <andinus@nand.sh>2020-04-08 18:24:22 +0530
commitfc6a3c01bebd45be2ed608809bdf0f8273571e07 (patch)
tree7a0b092cd5d62769e54614f12ab92c6877524b21
parent47a94e3f4eba1bb149bbdec3ce10404a2e6d9813 (diff)
downloadgrus-fc6a3c01bebd45be2ed608809bdf0f8273571e07.tar.gz
Update install script
-rw-r--r--scripts/install.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 4e1934f..ee4e21e 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,11 +1,11 @@
#!/bin/sh
-freebsdH="3393230e78fd495dad4193dfdc7aafab11c007de058790aa0dbfd2e7ddd84689"
-openbsdH="01b9fddd004b588a07f8fbec756cfc2cc7c07a51d765969e7a79af34dc93bee5"
-linuxH="b12957117a839a741c85401ca0305db9d48b623c6e8754b81002cb3c588d9bf3"
-netbsdH="67e0efe184b0327700ba67ddc662ba3174a7484de7d8223581367d3fdc21e5b8"
-dragonflyH="d7501082472fd0b4b6686d2ec6667bf6965087e5e4fe8c8b04372123e51df5b3"
-darwinH="4b96dbd72f0816fa9e89a9c2a249df4a7cb3a043d5a87fb8e6d948f17846b56d"
+freebsdH="f77989e2d243dc32ff1ab5aa91b48e2abe72a3daba86b781e7905fd4d6a9bd1a"
+openbsdH="0251e6cecb77aa03ac02d4d67ad9d4cd164d199e1a8a3ef4dd8b711fa43a7298"
+linuxH="99c35fd048d02fc7136271a7ab2cbe582810d426e2b2bf9687ede6f2b8011960"
+netbsdH="f686dae688db4dd1a4733ae0be06b588d47f5d8fac6e23dc11f8175d5dcff53c"
+dragonflyH="c7dbf94b379f9b85956cf09fa015e6eab4ee40dd60fe747cde1c2f15cb172ad2"
+darwinH="81db0127149b96558ed1d0e556ebe1a653a2e38a0f212fc23257bb9bf0ab2ead"
earlyCheck(){
os=`uname`
@@ -33,7 +33,7 @@ earlyCheck(){
}
getURL(){
- url="https://archive.org/download/grus-v0.2.0/grus-v0.2.0-$os-$cpu"
+ url="https://archive.org/download/grus-v0.3.0/grus-v0.3.0-$os-$cpu"
}
printURL(){
@@ -68,9 +68,10 @@ printURL(){
echo
echo "Verify the hash by running sha256 on grus binary."
echo "$ sha256 /usr/local/bin/grus"
+ echo
}
-echo "Grus v0.2.0"
+echo "Grus v0.3.0"
echo
earlyCheck
getURL