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.
-
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