Skip to content

Commit

Permalink
Public key error seen while adding repo
Browse files Browse the repository at this point in the history
Signed-off-by: Saurabh Kamat <[email protected]>
  • Loading branch information
sauk2 committed Jun 1, 2024
1 parent 144b6d5 commit 6cd02e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/setup-gazebo-linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ async function addAptRepoKey(): Promise<void> {
const keyFilePath = path.join(workspace, "gazebo.key");
fs.writeFileSync(keyFilePath, openRoboticsAptPublicGpgKey);
await utils.exec("sudo", ["apt-key", "add", keyFilePath]);
await utils.exec("sudo", ["apt-get", "update"]);
}

/**
Expand Down

0 comments on commit 6cd02e8

Please sign in to comment.