summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-06-04 16:20:40 -0700
committerelijah <elijah@riseup.net>2015-06-04 16:20:40 -0700
commit80fb8674db6878a2deca1cdd0f6806a4a8310bff (patch)
tree3809eebde31b73d0c0821223f337d7a29d790c6d /lib
parent83018e5bd463a3297b85877646026e81be970524 (diff)
for now, only support wheezy
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/remote/tasks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/remote/tasks.rb b/lib/leap_cli/remote/tasks.rb
index ab60a51..d7a90e7 100644
--- a/lib/leap_cli/remote/tasks.rb
+++ b/lib/leap_cli/remote/tasks.rb
@@ -58,7 +58,7 @@ task :install_prerequisites, :max_hosts => MAX_HOSTS do
run "( test -f /etc/init.d/ntp && /etc/init.d/ntp start ) || true"
end
leap.log :installing, "required packages" do
- run %[#{apt_get} install $( (grep -q wheezy /etc/debian_version && echo #{leap.required_wheezy_packages}) || echo #{leap.required_packages} )]
+ run %[#{apt_get} install #{leap.required_wheezy_packages}]
end
#run "locale-gen"
leap.mkdirs("/etc/leap", "/srv/leap")