summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-09-05 23:33:06 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-09-05 23:33:06 +0400
commit6cae35f2f087a33e17e55857b2f08346b6992bfd (patch)
tree6cbeefe31253338abb8622db0f8e35df706409fd /install
parent484d96bb1e32097689adda0e8162b9c435d1115a (diff)
downloadlive-6cae35f2f087a33e17e55857b2f08346b6992bfd.tar.gz
Let packages be missed (important for net install)
Diffstat (limited to 'install')
-rwxr-xr-xinstall7
1 files changed, 6 insertions, 1 deletions
diff --git a/install b/install
index 6dafdc6..e2aa32b 100755
--- a/install
+++ b/install
@@ -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)