Skip to content

Commit a6cdfd6

Browse files
mapitmanCopilot
andauthored
Fix re-run failures and update MakeMKV to 1.18.3 (#17)
* Fix sourced-script exit bugs and add bootstrap completion message - Replace exit 1 with return 1 in debian/bootstrap and install-jetbrains-tools so failures don't kill the user's shell when scripts are run via 'source <(curl ...)' - Add 'Bootstrap complete!' message at end of debian/bootstrap so the user knows when the run has finished (previously the script ended silently after github-auth-login) - Fix install-makemkv to use 'command -v' instead of 'type' to suppress spurious output when checking for makemkv - Add descriptive error messages to all return 1 paths in install-makemkv so failures explain what went wrong Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Fix re-run failures and update MakeMKV to 1.18.3 - install-eza-themes: remove existing dir before cloning so re-runs don't fail with 'destination already exists' - install-tmux-catppuccin-theme: same fix - remove existing tmux dir before cloning - install-makemkv: bump version 1.18.2 -> 1.18.3 (1.18.2 returns 404) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4b4794b commit a6cdfd6

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

debian/install-makemkv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Install makemkv
55
if ! command -v makemkv &>/dev/null
66
then
7-
MAKEMKV_VERSION="1.18.2"
7+
MAKEMKV_VERSION="1.18.3"
88
mkdir -p /tmp/makemkv-build
99
pushd /tmp/makemkv-build || { echo "ERROR: Failed to enter /tmp/makemkv-build"; return 1; }
1010

generic/install-eza-themes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22
# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-eza-themes)
33

4+
rm -rf "$HOME/.local/share/eza-themes"
45
git clone https://github.com/eza-community/eza-themes.git ~/.local/share/eza-themes
56
mkdir -p ~/.config/eza
67
ln -sf "$HOME/.local/share/eza-themes/themes/catppuccin-mocha.yml" ~/.config/eza/theme.yml

generic/install-tmux-catppuccin-theme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme)
33

44
mkdir -p ~/.config/tmux/plugins/catppuccin
5+
rm -rf ~/.config/tmux/plugins/catppuccin/tmux
56
if git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux; then
67
echo "Catppuccin theme for tmux has been installed."
78
echo "To apply the theme, add the following line to your .tmux.conf file:"

0 commit comments

Comments
 (0)