Skip to content

Commit

Permalink
test: #9 upgrade を削除して動作確認
Browse files Browse the repository at this point in the history
  • Loading branch information
KeitaSHIBUYA committed Feb 22, 2024
1 parent 453a0e4 commit 8778ebc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
platforms: linux/arm64

- name: Install required packages
run: sudo apt update && sudo apt install -y git sudo
run: sudo apt-get update && sudo apt-get install -y git sudo

- name: Install dotfiles
run: |
Expand Down
9 changes: 4 additions & 5 deletions bin/ubuntu_install.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/bin/bash

# ./bin/packages.list に記述されたパッケージをインストール
sudo apt update || exit 1
sudo apt install -y $(cat ./bin/packages.list) || exit 1
sudo apt upgrade -y || exit 1
sudo apt-get update || exit 1
sudo apt-get install -y $(cat ./bin/packages.list) || exit 1

# zshがインストールされているかチェック
if ! command -v zsh &> /dev/null; then
Expand All @@ -12,8 +11,8 @@ if ! command -v zsh &> /dev/null; then
read -r answer
case $answer in
[Yy]* )
sudo apt update || exit 1
sudo apt install -y zsh curl || exit 1
sudo apt-get update || exit 1
sudo apt-get install -y zsh curl || exit 1
break;;
[Nn]* )
echo "zsh installation skipped."
Expand Down

0 comments on commit 8778ebc

Please sign in to comment.