summaryrefslogtreecommitdiff
path: root/Ubuntu/install-eSim.sh
diff options
context:
space:
mode:
authorrahulp132021-01-05 19:48:02 +0530
committerrahulp132021-01-05 19:48:02 +0530
commit376e748df438933088721286402462dffd6367c0 (patch)
treebefb3f916c5517c96172fe44cdc345c6caff9a43 /Ubuntu/install-eSim.sh
parentca83e94e61353e2cce160f6fa822f01d7d8b0393 (diff)
downloadeSim-376e748df438933088721286402462dffd6367c0.tar.gz
eSim-376e748df438933088721286402462dffd6367c0.tar.bz2
eSim-376e748df438933088721286402462dffd6367c0.zip
auto-add kicad-4 key for ubuntu 20+
Diffstat (limited to 'Ubuntu/install-eSim.sh')
-rwxr-xr-xUbuntu/install-eSim.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/Ubuntu/install-eSim.sh b/Ubuntu/install-eSim.sh
index 27783e41..ae2be5b0 100755
--- a/Ubuntu/install-eSim.sh
+++ b/Ubuntu/install-eSim.sh
@@ -15,7 +15,7 @@
# AUTHOR: Fahim Khan, Rahul Paknikar, Saurabh Bansode
# ORGANIZATION: eSim Team, FOSSEE, IIT Bombay
# CREATED: Wednesday 15 July 2015 15:26
-# REVISION: Wednesday 16 December 2020 23:50
+# REVISION: Wednesday 05 January 2021 23:50
#===============================================================================
# All variables goes here
@@ -85,7 +85,8 @@ function addKicadPPA
if [ -z "$findppa" ]; then
echo "Adding KiCad-4 PPA to local apt-repository"
if [[ $(lsb_release -rs) == 20.* ]]; then
- sudo add-apt-repository --yes "deb http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu bionic main"
+ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 83FBAD2D910F124E
+ sudo add-apt-repository --yes "deb [trusted=yes] http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu bionic main"
sudo touch /etc/apt/preferences.d/preferences
echo "Package: kicad" | sudo tee -a /etc/apt/preferences.d/preferences > /dev/null
echo "Pin: version 4.0.7*" | sudo tee -a /etc/apt/preferences.d/preferences > /dev/null