Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
118
rated 0 times [  118] [ 0]  / answers: 1 / hits: 49601  / 2 Years ago, sat, may 28, 2022, 8:25:14

Basically, I want to run add-apt-repository ppa:(whatever) without the "press Enter to continue" prompt. How would I do this?



Essentially, I want to deploy adding a repository in a shell script without user input.


More From » ppa

 Answers
3

The script goes like this



#! /bin/sh
sudo add-apt-repository ppa:(Your ppa here) -y


BTW you will still have to enter password.


[#30870] Sunday, May 29, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingssex

Total Points: 21
Total Questions: 122
Total Answers: 98

Location: Sweden
Member since Fri, Mar 26, 2021
3 Years ago
;