GithubHelp home page GithubHelp logo

Comments (5)

jacobsalmela avatar jacobsalmela commented on April 28, 2024

Try downloading the raw format instead of the regular file:

https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh

from pi-hole.

shresthassh avatar shresthassh commented on April 28, 2024

pi@ rp1 /usr/local/bin $ sudo wget https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh
--2015-08-27 13:43:06-- https://raw.githubusercontent.com/jacobsalmela/pi-hole/master/gravity.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.40.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.40.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5701 (5.6K) [text/plain]
Saving to: `gravity.sh'

100%[====================================================================================================================>] 5,701 --.-K/s in 0.006s

2015-08-27 13:43:11 (987 KB/s) - `gravity.sh' saved [5701/5701]

pi@ rp1 /usr/local/bin $ sudo sh gravity.sh
gravity.sh: 9: gravity.sh: Syntax error: "(" unexpected
pi@ rp1 /usr/local/bin $

from pi-hole.

jacobsalmela avatar jacobsalmela commented on April 28, 2024

It still works for me. It looks like you're using sh and this is a bash script so maybe there is some small difference? Also, are you running Raspbian or something else?

from pi-hole.

shresthassh avatar shresthassh commented on April 28, 2024

bash indeed. It works.
Yes, I am using Raspbian.

Thank you for your flash reply.

pi@ rp1 /usr/local/bin $ sudo bash gravity.sh
** Neutrino emissions detected...
** Current swap size is 100
** Creating more swap space to accomodate large solar masses...
want /var/swap=500MByte, checking existing: deleting wrong size file (104857600), generating swapfile ... of 500MBytes
Getting adaway.org list...
Skipping adblock.gjtech.net list because it does not have any new entries...
Getting adblock.mahakala.is list...

from pi-hole.

jacobsalmela avatar jacobsalmela commented on April 28, 2024

Solid. Glad it works.

from pi-hole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.