From 69233495f0c84948389f7dcee615e182b54cade2 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 23 Dec 2021 15:02:27 +0100 Subject: [PATCH] add little message at the end of the file --- installBrave.sh | 1 + installFish.sh | 2 ++ installJava.sh | 5 +++++ installObsidian.sh | 2 ++ installOnlyoffice.sh | 2 ++ installParsec.sh | 2 ++ installRust.sh | 2 ++ installSpotify.sh | 4 ++++ installSyncthing.sh | 4 ++++ installgl4D.sh | 2 +- removeBannerSpotify.sh | 2 ++ 11 files changed, 27 insertions(+), 1 deletion(-) diff --git a/installBrave.sh b/installBrave.sh index fa90d38..8c23710 100644 --- a/installBrave.sh +++ b/installBrave.sh @@ -3,3 +3,4 @@ sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://b echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list sudo apt update sudo apt install brave-browser -y +echo -e "\nBrave installed! 🎉" diff --git a/installFish.sh b/installFish.sh index c4bf832..5ad6f18 100644 --- a/installFish.sh +++ b/installFish.sh @@ -4,6 +4,7 @@ sudo apt-add-repository ppa:fish-shell/release-3 -y sudo apt update # Install Fish, fzf (for the reverse search), bat (for the colored manuals), procps (for the SSH), curl (for downloading scripts) sudo apt install fish fzf bat procps curl -y +echo -e "\nFish installed!" # Fish default shell sudo chsh -s /usr/bin/fish $USER # Removing motd @@ -63,4 +64,5 @@ else # if regular distro (i.e. Ubuntu) fish -c "abbr spotify 'LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify &> /dev/null & disown'" fi +echo -e "\nFish configured! 🎉" echo "You must log out to finish applying the changes." diff --git a/installJava.sh b/installJava.sh index c891ca3..3338629 100644 --- a/installJava.sh +++ b/installJava.sh @@ -12,6 +12,11 @@ if [ -x $HOME/.config/fish ] ; then fi fish -c 'fisher install reitzig/sdkman-for-fish' fi +echo -e "\nSDKMAN (Java install manager) installed!" # Install Temurin build according with https://whichjdk.com/#adoptium-eclipse-temurin sdk install java 17.0.1-tem + +# upgrade to latest java version in case the version above isn't +sdk upgrade +echo -e "\nJava (Temurin) installed! 🎉" diff --git a/installObsidian.sh b/installObsidian.sh index dfbe452..fb60db9 100644 --- a/installObsidian.sh +++ b/installObsidian.sh @@ -10,3 +10,5 @@ rm url sudo snap install --dangerous obsidian.snap # Removing package rm obsidian.snap + +echo -e "\nObsidian installed! 🎉" diff --git a/installOnlyoffice.sh b/installOnlyoffice.sh index a3bc40f..7fbfb30 100644 --- a/installOnlyoffice.sh +++ b/installOnlyoffice.sh @@ -4,3 +4,5 @@ wget -q --show-progress https://download.onlyoffice.com/install/desktop/editors/ sudo apt install ./onlyoffice.deb -y # Removing package rm onlyoffice.deb + +echo -e "\nOnlyOffice installed! 🎉" diff --git a/installParsec.sh b/installParsec.sh index a02e885..a126cde 100644 --- a/installParsec.sh +++ b/installParsec.sh @@ -4,3 +4,5 @@ wget -q --show-progress https://builds.parsec.app/package/parsec-linux.deb -O pa sudo apt install ./parsec.deb -y # Removing package rm parsec.deb + +echo -e "\nParsec installed! 🎉" diff --git a/installRust.sh b/installRust.sh index 7d78fa4..72555eb 100644 --- a/installRust.sh +++ b/installRust.sh @@ -14,3 +14,5 @@ fi # Adding dev tools rustup component add rust-analysis rustup component add rls + +echo -e "\nRust installed! 🎉" diff --git a/installSpotify.sh b/installSpotify.sh index e13abfb..426b8c1 100644 --- a/installSpotify.sh +++ b/installSpotify.sh @@ -6,6 +6,8 @@ which curl &> /dev/null || sudo apt update && sudo apt install curl -y # Install echo "deb [trusted=yes] http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list sudo apt update sudo apt install spotify-client -y +echo -e "\nSpotify installed!" + # 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 which rustc &> /dev/null || curl https://sh.rustup.rs -sSf | ( sh -s -- -y; source $HOME/.cargo/env ) # Install rust if not already installed @@ -22,3 +24,5 @@ rm -rf spotify-adblock if [ -f /usr/share/applications/spotify.desktop ] ; then sudo sed -i "7s#.*#Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify %U#" /usr/share/applications/spotify.desktop fi + +echo -e "\nSpotify patched! 🎉" diff --git a/installSyncthing.sh b/installSyncthing.sh index a79df32..a6e766e 100644 --- a/installSyncthing.sh +++ b/installSyncthing.sh @@ -5,6 +5,10 @@ echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https:// # Install Syncthing sudo apt update sudo apt install syncthing -y +echo -e "\nSyncthing installed!" + # Launch it at startup sudo systemctl enable syncthing@$USER.service sudo systemctl start syncthing@$USER.service + +echo -e "\nSyncthing configured to start at startup! 🎉" diff --git a/installgl4D.sh b/installgl4D.sh index c44e4e8..332f2bc 100644 --- a/installgl4D.sh +++ b/installgl4D.sh @@ -45,5 +45,5 @@ if [ -f $HOME/.config/fish/config.fish ] ; then echo "" >> $HOME/.config/fish/config.fish fi -echo "" +echo -e "\nGL4D library installed! 🎉" echo "You may need to restart your shell to apply changes." diff --git a/removeBannerSpotify.sh b/removeBannerSpotify.sh index 0307604..467c18a 100644 --- a/removeBannerSpotify.sh +++ b/removeBannerSpotify.sh @@ -4,3 +4,5 @@ sudo cp xpui.spa xpui.spa_bak # create a backup, in case of trouble sudo bash -c "unzip -p xpui.spa xpui.js | sed 's/{adsEnabled:\!0}/{adsEnabled:false}/' > xpui.js" sudo zip --update xpui.spa xpui.js sudo rm xpui.js + +echo -e "\nSpotify banner removed! 🎉"