Просмотр исходного кода

add universe to sources as root

Nick Sweeting 5 лет назад
Родитель
Сommit
b61143337e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      .github/workflows/debian.yml

+ 2 - 2
.github/workflows/debian.yml

@@ -25,8 +25,8 @@ jobs:
 
       - name: Install packaging dependencies
         run: |
-          sudo echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" >> /etc/apt/sources.list
-          sudo echo "deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" >> /etc/apt/sources.list
+          sudo bash -c 'echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" >> /etc/apt/sources.list'
+          sudo bash -c 'echo "deb-src http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" >> /etc/apt/sources.list'
           sudo apt update
           sudo apt install -y python3 python3-dev python3-pip python3-venv python3-all dh-python debhelper devscripts dput software-properties-common python3-distutils python3-setuptools python3-wheel python3-stdeb
           # pip3 install --upgrade pip setuptools wheel stdeb