Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion debian/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source /etc/os-release
if [[ "$ID" != "debian" ]]
then
echo "Not running Debian, exiting."
exit 1
return 1
fi

# Create an ssh key
Expand Down Expand Up @@ -51,3 +51,5 @@ source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/m

# Add user to groups
source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/add-user-to-groups)

echo "Bootstrap complete! You may need to log out and back in for group membership changes to take effect."
18 changes: 9 additions & 9 deletions debian/install-makemkv
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/ubuntu/install-makemkv)

# Install makemkv
if ! type makemkv
if ! command -v makemkv &>/dev/null
then
MAKEMKV_VERSION="1.18.2"
MAKEMKV_VERSION="1.18.3"
mkdir -p /tmp/makemkv-build
pushd /tmp/makemkv-build || return 1
pushd /tmp/makemkv-build || { echo "ERROR: Failed to enter /tmp/makemkv-build"; return 1; }

curl -O "https://www.makemkv.com/download/makemkv-bin-$MAKEMKV_VERSION.tar.gz"
curl -O "https://www.makemkv.com/download/makemkv-oss-$MAKEMKV_VERSION.tar.gz"
curl -O https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2

tar xzvf "makemkv-bin-$MAKEMKV_VERSION.tar.gz"
tar xzvf "makemkv-oss-$MAKEMKV_VERSION.tar.gz"
tar xjvf ffmpeg-snapshot.tar.bz2
tar xzvf "makemkv-bin-$MAKEMKV_VERSION.tar.gz" || { echo "ERROR: Failed to extract makemkv-bin"; popd; return 1; }
tar xzvf "makemkv-oss-$MAKEMKV_VERSION.tar.gz" || { echo "ERROR: Failed to extract makemkv-oss"; popd; return 1; }
tar xjvf ffmpeg-snapshot.tar.bz2 || { echo "ERROR: Failed to extract ffmpeg snapshot"; popd; return 1; }

popd || return 1

Expand All @@ -32,18 +32,18 @@ then
libfdk-aac-dev \
nasm

pushd /tmp/makemkv-build/ffmpeg || return 1
pushd /tmp/makemkv-build/ffmpeg || { echo "ERROR: Failed to enter ffmpeg directory. Did the ffmpeg snapshot extract correctly?"; return 1; }
./configure --prefix=/tmp/ffmpeg --enable-static --disable-shared --enable-pic --enable-libfdk-aac
make install
popd || return 1

pushd "/tmp/makemkv-build/makemkv-oss-$MAKEMKV_VERSION" || return 1
pushd "/tmp/makemkv-build/makemkv-oss-$MAKEMKV_VERSION" || { echo "ERROR: Failed to enter makemkv-oss directory"; return 1; }
PKG_CONFIG_PATH=/tmp/ffmpeg/lib/pkgconfig ./configure
make
sudo make install
popd || return 1

pushd "/tmp/makemkv-build/makemkv-bin-$MAKEMKV_VERSION" || return 1
pushd "/tmp/makemkv-build/makemkv-bin-$MAKEMKV_VERSION" || { echo "ERROR: Failed to enter makemkv-bin directory"; return 1; }
make
sudo make install
popd || return 1
Expand Down
1 change: 1 addition & 0 deletions generic/install-eza-themes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-eza-themes)

rm -rf "$HOME/.local/share/eza-themes"
git clone https://github.com/eza-community/eza-themes.git ~/.local/share/eza-themes
mkdir -p ~/.config/eza
ln -sf "$HOME/.local/share/eza-themes/themes/catppuccin-mocha.yml" ~/.config/eza/theme.yml
2 changes: 1 addition & 1 deletion generic/install-jetbrains-tools
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ -f "/tmp/$base_filename/bin/jetbrains-toolbox" ]; then
echo "JetBrains Toolbox downloaded and extracted successfully."
else
echo "Failed to download or extract JetBrains Toolbox."
exit 1
return 1
fi
"/tmp/$base_filename/bin/jetbrains-toolbox" >/dev/null 2>&1 &
echo "JetBrains Toolbox installation initiated. Please complete the setup through the application interface."
1 change: 1 addition & 0 deletions generic/install-tmux-catppuccin-theme
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme)

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