How to pkg update without any prompt #2652
Replies: 1 comment
-
|
Use If your script runs in background/non-interactively, then you shouldn't be using https://github.com/termux/termux-packages/blob/master/packages/termux-tools/pkg |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Whenever I am trying to create a script I update the termux packages, and since it is a script i want everything to happen automatically without any prompt, so I use
pkg update -y, this way it doesn't ask me for (Y/n) But it always asks me for openssl.cnf ( as you can see in the below image)Is There any way I can bypass this too? And always go with the N ( default ) option.
Beta Was this translation helpful? Give feedback.
All reactions