Skip to content

Commit

Permalink
use apt-get instead of apt in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed May 9, 2024
1 parent 6a78263 commit c36c754
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/run
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ container_build() {
"$container_tool" container start "$container_name"

"$container_tool" exec -it "$container_name" bash -exc "
apt update
apt -y install make gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake patch
apt-get update
apt-get -y install make gcc g++ chrpath perl pkg-config autoconf automake libtool nasm cmake patch
"
fi

Expand All @@ -100,8 +100,8 @@ container_build() {

if [[ "$status" = @(created|exited|running) ]]; then
"$container_tool" exec -it "$container_name" bash -exc "
apt update
apt -y dist-upgrade
apt-get update
apt-get -y dist-upgrade
rustup update
"
fi
Expand Down

0 comments on commit c36c754

Please sign in to comment.