Created
July 17, 2014 02:05
-
-
Save yuuichi-fujioka/6fdd983841bd67ff7279 to your computer and use it in GitHub Desktop.
auto selection with debconf at apt-get install
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
#!/bin/bash | |
sudo apt-get install debconf-utils -y | |
sudo debconf-get-selections | grep ${PACKAGE_NAME} > ${PACKAGE_NAME}.preseed | |
sudo debconf-set-selections ${PACKAGE_NAME}.preseed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment