aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/README.md b/README.md
index 3e5fda6..aaec756 100644
--- a/README.md
+++ b/README.md
@@ -110,15 +110,18 @@ chmod +x /usr/local/sbin/install-kernel
### Customizing Update Downloads
-You can add a section to the [script](src/slack-autoupdate) to pull updates
-using different tools or sources. The sections use the following structure,
-and some examples are provided in the [recipes](src/recipes) directory.
+You can add a section to the [cron script](./src/slack-autoupdate) to pull
+updates using different tools or sources. The sections use the following
+structure. Place the code within the 'if-then' block just after the 'exec'.
+Examples may be found in the [recipes](./src/recipes) directory.
```
if ! OUTPUT="$(
# Redirect error output to standard output.
exec 2>&1
+ # Your update code goes here.
+ #
# Download updates into $STAGING_DIR.
#
# On failure the command output is appended to the error file.