From 9926ec404860c95256b96b94b3b3866f95932358 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 15 Jun 2024 15:51:01 +0200 Subject: [PATCH] Remove set -euo pipefail from menu scripts --- bash/bin/launch-menu-apps | 3 +-- bash/bin/launch-menu-apps.d/base.sh | 1 - bash/bin/launch-menu-apps.d/bottles.sh | 1 - bash/bin/launch-menu-apps.d/development.sh | 1 - bash/bin/launch-menu-apps.d/games.sh | 1 - bash/bin/launch-menu-apps.d/hyprland.sh | 1 - bash/bin/launch-menu-apps.d/info.sh | 1 - bash/bin/launch-menu-apps.d/internet.sh | 1 - bash/bin/launch-menu-apps.d/multimedia.sh | 1 - bash/bin/launch-menu-apps.d/programs.sh | 1 - bash/bin/launch-menu-apps.d/template.sh.disabled | 1 - bash/bin/launch-menu-apps.d/tools.sh | 1 - 12 files changed, 1 insertion(+), 13 deletions(-) diff --git a/bash/bin/launch-menu-apps b/bash/bin/launch-menu-apps index f29fe540..6473ef88 100755 --- a/bash/bin/launch-menu-apps +++ b/bash/bin/launch-menu-apps @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -euo pipefail +set -eo pipefail # Define associative array declare -A apps=() @@ -8,7 +8,6 @@ declare -A apps=() mkdir -p "${HOME}/.config/launch-menu-apps.d" cat << EOF >> "${HOME}/.config/launch-menu-apps.d/template.sh.disabled" #!/usr/bin/env bash -set -euo pipefail apps+=( ["Example application"]="example-application" diff --git a/bash/bin/launch-menu-apps.d/base.sh b/bash/bin/launch-menu-apps.d/base.sh index 3f2c7569..fdcec9d5 100644 --- a/bash/bin/launch-menu-apps.d/base.sh +++ b/bash/bin/launch-menu-apps.d/base.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["LibreWolf"]="librewolf" diff --git a/bash/bin/launch-menu-apps.d/bottles.sh b/bash/bin/launch-menu-apps.d/bottles.sh index afa64fc6..e507c97e 100644 --- a/bash/bin/launch-menu-apps.d/bottles.sh +++ b/bash/bin/launch-menu-apps.d/bottles.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["UltraISO"]="flatpak run --command=bottles-cli com.usebottles.bottles run -p UltraISO -b 'UltraISO'" diff --git a/bash/bin/launch-menu-apps.d/development.sh b/bash/bin/launch-menu-apps.d/development.sh index 84969819..a121a029 100644 --- a/bash/bin/launch-menu-apps.d/development.sh +++ b/bash/bin/launch-menu-apps.d/development.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["Android Studio"]="android-studio" diff --git a/bash/bin/launch-menu-apps.d/games.sh b/bash/bin/launch-menu-apps.d/games.sh index c5dbde49..9adbd11a 100644 --- a/bash/bin/launch-menu-apps.d/games.sh +++ b/bash/bin/launch-menu-apps.d/games.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["ClassiCube"]="~/.apps/ClassiCube/ClassiCube" diff --git a/bash/bin/launch-menu-apps.d/hyprland.sh b/bash/bin/launch-menu-apps.d/hyprland.sh index bb759d46..e887cb5a 100644 --- a/bash/bin/launch-menu-apps.d/hyprland.sh +++ b/bash/bin/launch-menu-apps.d/hyprland.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["Reload Hyprland"]="hyprctl reload" diff --git a/bash/bin/launch-menu-apps.d/info.sh b/bash/bin/launch-menu-apps.d/info.sh index 0fd5627a..089dc33f 100644 --- a/bash/bin/launch-menu-apps.d/info.sh +++ b/bash/bin/launch-menu-apps.d/info.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["Waycheck"]="flatpak run dev.serebit.Waycheck" diff --git a/bash/bin/launch-menu-apps.d/internet.sh b/bash/bin/launch-menu-apps.d/internet.sh index a8b498bf..e6227616 100644 --- a/bash/bin/launch-menu-apps.d/internet.sh +++ b/bash/bin/launch-menu-apps.d/internet.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["Kaiteki"]="flatpak run app.kaiteki.Kaiteki" diff --git a/bash/bin/launch-menu-apps.d/multimedia.sh b/bash/bin/launch-menu-apps.d/multimedia.sh index f4977a06..23a0e84d 100644 --- a/bash/bin/launch-menu-apps.d/multimedia.sh +++ b/bash/bin/launch-menu-apps.d/multimedia.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["LibreSprite"]="flatpak run com.github.libresprite.LibreSprite" diff --git a/bash/bin/launch-menu-apps.d/programs.sh b/bash/bin/launch-menu-apps.d/programs.sh index 7f5c7412..07ad4834 100644 --- a/bash/bin/launch-menu-apps.d/programs.sh +++ b/bash/bin/launch-menu-apps.d/programs.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["OpenRGB"]="openrgb" diff --git a/bash/bin/launch-menu-apps.d/template.sh.disabled b/bash/bin/launch-menu-apps.d/template.sh.disabled index 827f7d40..9e60ce88 100644 --- a/bash/bin/launch-menu-apps.d/template.sh.disabled +++ b/bash/bin/launch-menu-apps.d/template.sh.disabled @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["Example application"]="example-application" diff --git a/bash/bin/launch-menu-apps.d/tools.sh b/bash/bin/launch-menu-apps.d/tools.sh index 4ee45050..5cdd7932 100644 --- a/bash/bin/launch-menu-apps.d/tools.sh +++ b/bash/bin/launch-menu-apps.d/tools.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -set -euo pipefail apps+=( ["OpenRGB"]="openrgb"