Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run apt-get update only once a week #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baranga
Copy link

@baranga baranga commented Jan 21, 2015

As I provision often while testing my puppet stuff I try to avoid any overhead. Should be enough to update apt-get cache only once a week.

@purple52
Copy link
Owner

Thanks for the pull request. I see the problem, but I think a simpler solution would be to make apt-get update only run if the script is going to try to install a package. It could simply be wrapped with a check for $FOUND_GIT or $FOUND_LP being non-zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants