ICT-Infer / timelog

Time sheet time tracking
ISC License
1 stars 0 forks source link

Protect from broken install caused by partially downloaded installation script #19

Closed yarwelp closed 9 years ago

yarwelp commented 9 years ago

It is known that when wget is used to download files over HTTP, the download may break due to a number of network related factors and that the user might not be aware that the download did not complete.

To protect against broken installs made by a partially downloaded installation script, wrap main content in a function definition, call function at end of script.