use parenthesis instead of brackets
This commit is contained in:
parent
524a8174af
commit
8a3ecea2a3
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
which curl &> /dev/null || { sudo apt update; sudo apt install curl -y } # Install curl if not already installed
|
which curl &> /dev/null || ( sudo apt update; sudo apt install curl -y ) # Install curl if not already installed
|
||||||
|
|
||||||
# Install rust
|
# Install rust
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
|
|
|
@ -9,7 +9,7 @@ sudo apt update
|
||||||
sudo apt install spotify-client -y
|
sudo apt install spotify-client -y
|
||||||
# We install the prerequisites to build and install the patch (Git and Rust will be installed and not removed)
|
# We install the prerequisites to build and install the patch (Git and Rust will be installed and not removed)
|
||||||
sudo apt install git make build-essential -y
|
sudo apt install git make build-essential -y
|
||||||
which rustc &> /dev/null || curl https://sh.rustup.rs -sSf | { sh -s -- -y; source $HOME/.cargo/env } # Install rust if not already installed
|
which rustc &> /dev/null || curl https://sh.rustup.rs -sSf | ( sh -s -- -y; source $HOME/.cargo/env ) # Install rust if not already installed
|
||||||
# Download and build the patch
|
# Download and build the patch
|
||||||
git clone https://github.com/abba23/spotify-adblock.git
|
git clone https://github.com/abba23/spotify-adblock.git
|
||||||
cd spotify-adblock
|
cd spotify-adblock
|
||||||
|
|
Reference in a new issue