diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-09-05 23:33:06 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-09-05 23:33:06 +0400 |
commit | 6cae35f2f087a33e17e55857b2f08346b6992bfd (patch) | |
tree | 6cbeefe31253338abb8622db0f8e35df706409fd /install | |
parent | 484d96bb1e32097689adda0e8162b9c435d1115a (diff) | |
download | live-6cae35f2f087a33e17e55857b2f08346b6992bfd.tar.gz |
Let packages be missed (important for net install)
Diffstat (limited to 'install')
-rwxr-xr-x | install | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -90,6 +90,7 @@ profiles = [ { 'name': 'Basic', 'desc' : 'Basic system without X', + # Some packages may be absent, they will be skipped: 'packages' : '''locales vim bash-completion mc sudo lynx mutt wget curl openssh-server''', }, { @@ -789,7 +790,11 @@ def install_profile(): logfile=logfile) for p in profiles[profile]['packages'].split(): - cache[p].mark_install() + # Skip if no such package + try: + cache[p].mark_install() + except: + pass cache.commit(download_progress, install_progress) |