diff options
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) |