From d9b2094edddd9bf7ca284a81677066208a7c4274 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Thu, 26 May 2022 14:11:38 +0800 Subject: [PATCH] chore: apt -> apt-get --- README.md | 4 ++-- scripts/install-ubuntu.sh | 6 +++--- scripts/verify-debian-package.sh | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2cb0286..eb057dc 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Add the repository in the above table and install it with your favorite package ```sh sudo add-apt-repository ppa:yuezk/globalprotect-openconnect sudo apt-get update -sudo apt install globalprotect-openconnect +sudo apt-get install globalprotect-openconnect ``` > For Linux Mint, you might need to import the GPG key with: `sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7937C393082992E5D6E4A60453FC26B43838D761` if you encountered an error `gpg: keyserver receive failed: General error`. @@ -105,7 +105,7 @@ cd GlobalProtect-openconnect > > ```sh > sudo add-apt-repository ppa:dwmw2/openconnect -> sudo apt update +> sudo apt-get update > ``` Build and install with: diff --git a/scripts/install-ubuntu.sh b/scripts/install-ubuntu.sh index 663c8fc..c4ebe68 100755 --- a/scripts/install-ubuntu.sh +++ b/scripts/install-ubuntu.sh @@ -1,11 +1,11 @@ #!/bin/bash -e -sudo apt update -sudo apt install -y \ +sudo apt-get update +sudo apt-get install -y \ build-essential \ qtbase5-dev \ libqt5websockets5-dev \ qtwebengine5-dev \ openconnect -./scripts/install.sh \ No newline at end of file +./scripts/install.sh diff --git a/scripts/verify-debian-package.sh b/scripts/verify-debian-package.sh index bb0b8e7..72cfc92 100755 --- a/scripts/verify-debian-package.sh +++ b/scripts/verify-debian-package.sh @@ -1,7 +1,7 @@ #!/bin/bash -e -sudo apt update -sudo apt install -y \ +sudo apt-get update +sudo apt-get install -y \ build-essential \ qtbase5-dev \ libqt5websockets5-dev \