CI: change apt to apt-get

This commit is contained in:
Oleg Kalachev
2021-05-29 05:31:29 +03:00
parent 5932faa29c
commit 563e5acad6
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ jobs:
- name: Setup tools
run: |
sudo sh -c "echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections"
sudo apt update && sudo apt install -y calibre msttcorefonts
sudo apt-get update && sudo apt-get install -y calibre msttcorefonts
npm install gitbook-cli -g
gitbook fetch 3.2.3 && npm i npm@3.10.10 --prefix=~/.gitbook/versions/3.2.3/ # fixing https://travis-ci.org/github/CopterExpress/clover/jobs/766541125#L932
npm install markdownlint-cli -g

View File

@@ -3,8 +3,8 @@
# Perform a "standalone install" in a Docker container
set -e
# Step 1: Install pip
apt update
apt install -y curl
apt-get update
apt-get install -y curl
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python ./get-pip.py
@@ -21,7 +21,7 @@ led_msgs:
stretch: ros-kinetic-led-msgs
buster: ros-melodic-led-msgs
EOF
apt update
apt-get update
rosdep update
# Step 2: Run rosdep to install all dependencies