Skip to content

Commit

Permalink
apt: add install script for apt
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuN6211 committed Oct 7, 2024
1 parent ca99002 commit 4c4638d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
25 changes: 25 additions & 0 deletions config/apt/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh -e

apt-get update
apt-get upgrade -y
apt-get install -y \
autoconf \
build-essential \
vim \
clang \
clangd \
clang-format \
cmake \
git \
tig \
gpg \
jq \
shellcheck \
tmux \
fzf \
fd \
trash-cli \
unzip \
wget \
zip \
zsh
9 changes: 9 additions & 0 deletions scripts/setup-apt.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -x
# shellcheck source=./scripts/common.bash
source "$(dirname "$0")/common.bash"

command -v apt-get >/dev/null || exit 0
[ -n "$SKIP_APT" ] && exit

sudo /bin/sh "$REPO_DIR/config/apt/install.sh"
1 change: 1 addition & 0 deletions scripts/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -eux
# shellcheck source=./scripts/common.bash
source "$(dirname "$0")/common.bash"

/bin/bash "$CUR_DIR/setup-apt.bash"
/bin/bash "$CUR_DIR/setup-homebrew.bash"
/bin/bash "$CUR_DIR/setup-links.bash"
/bin/bash "$CUR_DIR/setup-deno.bash"
Expand Down

0 comments on commit 4c4638d

Please sign in to comment.