Skip to content
Snippets Groups Projects
Commit ffef4623 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Handle h2t_repo.list on lab pcs

parent aeb36391
No related branches found
No related tags found
No related merge requests found
#! /bin/bash
file="/etc/apt/sources.list.d/h2t.list"
directory="/etc/apt/sources.list.d"
file="$directory/h2t.list"
alt="$directory/h2t_repo.list"
if ! [ -e "$file" ]; then
if ! [ -e "$file" ] || [ -e "$alt" ]; then
wget -O /tmp/h2t-key.pub https://packages.humanoids.kit.edu/h2t-key.pub
sudo apt-key add /tmp/h2t-key.pub
rm /tmp/h2t-key.pub
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment