Created
March 25, 2016 19:35
-
-
Save armiller/236ca4ca168a2169ba27 to your computer and use it in GitHub Desktop.
install packages from file
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
::File.open('/root/packages', 'r') do |f| | |
f.each_line do |l| | |
package l.strip | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment