From b73dc94596ae5a35be1ec14bfe2a866cf7e6b72a Mon Sep 17 00:00:00 2001 From: Kurtis Andrews Date: Fri, 3 Feb 2023 12:50:46 +1000 Subject: [PATCH] Updated wget command typos in script for gnome-disk --- README.md | 2 +- elementary-setup.sh | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 87287ce..5c7a65a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ An automated way to setup Elementary OS just how I like it. Use the following to run the script ``` -wget -O - https://git.tcmeta.net/kurtis/elementaryos-setup-script/raw/branch/main/elementary-setup.sh | sudo bash +sudo bash -c "$(wget -O - https://git.tcmeta.net/kurtis/elementaryos-setup-script/raw/branch/main/elementary-setup.sh)" ``` This script will do the following: diff --git a/elementary-setup.sh b/elementary-setup.sh index 3905c75..0db2b92 100644 --- a/elementary-setup.sh +++ b/elementary-setup.sh @@ -50,11 +50,11 @@ init() { clear; vs_logo; echo -ne " - $(greenprint "ElementaryOS Setup Script") - $(yellowprint '1)') Jolnir (6.1) - $(yellowprint '2)') Horus (7) - $(redprint '0)') Exit - Choose an version: " + $(greenprint "ElementaryOS Setup Script") + $(yellowprint '1)') Jolnir (6.1) + $(yellowprint '2)') Horus (7) + $(redprint '0)') Exit + Choose an version: " read -r ans case $ans in 1) @@ -186,7 +186,7 @@ install_simple_scan() { } install_gnome_disks() { - nala install -y gnome-disks + nala install -y gnome-disk-utility } install_wiregui() { @@ -201,7 +201,7 @@ install_fish() { depriv chsh -s /usr/bin/fish depriv mkdir -p ${user_home}/.local/bin depriv mkdir -p ${user_home}/.local/fish - depriv "SETUVAR fish_user_paths:${user_home}/\x2elocal/bin" > ${user_home}/.local/fish/fish_variables + depriv echo "SETUVAR fish_user_paths:${user_home}/\x2elocal/bin" > ${user_home}/.local/fish/fish_variables } install_chromium() {