Last active
August 30, 2016 11:55
-
-
Save JonasGroeger/f1ba4c699bf6bcbcee87c40f6ff6108c to your computer and use it in GitHub Desktop.
quiet apt-get funtions with inspiration from here: https://peteris.rocks/blog/quiet-and-unattended-installation-with-apt-get/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| quiet_update() { | |
| DEBIAN_FRONTEND=noninteractive apt-get update -qq < /dev/null > /dev/null | |
| } | |
| quiet_install() { | |
| DEBIAN_FRONTEND=noninteractive apt-get install -qq "$@" < /dev/null > /dev/null | |
| } | |
| quiet_install_no_recommends() { | |
| DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qq "$@" < /dev/null > /dev/null | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment