Skip to content

Commit

Permalink
COOK-136, correct copyright and kill whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Oct 13, 2011
1 parent 3af2b51 commit 986b19f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# Cookbook Name:: apt
# Recipe:: default
#
# Copyright 2008, OpsCode, Inc.
# Copyright 2008-2011, Opscode, Inc.
# Copyright 2009, Bryan McLellan <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -32,8 +32,8 @@
execute "apt-get-update-periodic" do
command "apt-get update"
only_if do
File.exists?('/var/lib/apt/periodic/update-success-stamp') &&
File.mtime('/var/lib/apt/periodic/update-success-stamp') < Time.now - 86400
File.exists?('/var/lib/apt/periodic/update-success-stamp') &&
File.mtime('/var/lib/apt/periodic/update-success-stamp') < Time.now - 86400
end
end

Expand Down

0 comments on commit 986b19f

Please sign in to comment.