56e1055dec8f685024585710989ea00f49e2c70b
- When -pn has been passed (i.e., the user wants the 'apt-get install' step to be skipped), don't waste time checking the available dependencies. Rationale: someone using -pn has probably already installed the required packages either manually or during a previous run of download_and_compile.sh, and anything missing couldn't be fixed under -pn regime anyway, by definition. Assume that users passing -pn want to build with the packages they already have, and let them spare some time and CPU cycles. - New options --package-manager and --sudo. The former defaults to 'apt-get' as usual, but 'aptitude' can be used as well. The --sudo option specifies the sudo-like program to use. Passing --sudo=echo allows one to see the apt-get or aptitude commands without running them. Passing --sudo= or --sudo="" (i.e., giving an empty value) causes the package manager to be called directly, without any intermediate sudo-like program. - The PKG variable is now a Bash array, which is a bit cleaner and blends better with the new, array-based implementations of _aptUpdate() and _aptInstall() (whose purpose is to allow the newly-added flexibility without multiplying the code paths).
Description
No description provided
Languages
Python
55.2%
Shell
30.7%
Batchfile
5.9%
Inno Setup
4.3%
Ruby
2.2%
Other
1.7%