terroo / wallset

A wallpaper manager that makes it possible to put videos as wallpaper
GNU General Public License v3.0
365 stars 37 forks source link

install.sh - Syntax Error when doing $ sudo sh #32

Open CoreyWarren opened 2 years ago

CoreyWarren commented 2 years ago

error_wallset

"$ sudo sh install.sh" throws an error.

As far as I could tell (I don't actually use this coding language), it seemed like for every "if", there was a "fi". So, I'm not sure what the issue is. (The "sudo nano"s are me trying to move some "if"s and "fi"s around, but it never changes the result. Odd...)

I'm checking if this is a dependency issue but I feel like the dependencies wouldn't affect being able to run the install.sh ? I will look for alternative ways to install in the meantime. (maybe old versions?)

CoreyWarren commented 2 years ago

error2 from a "$sudo nano" of install.sh

Here's the file itself, by the way.

Ekital commented 2 years ago

This is happening because the installation instructions are wrong...

You will have to use bash to run it instead. I put in a pull request to resolve this.

Simply use: sudo bash install.sh

33