summaryrefslogtreecommitdiff
path: root/cron-jobs
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 14:20:35 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-18 14:20:35 -0400
commitb3c27405fb9e2686d3db9ee23ca616dc6b93b1f3 (patch)
treeb75445c37d982ba6c4407ec2fa4a73b4048a42ba /cron-jobs
parentb2abcf95b33fc3c24855da83bc71112098e849b4 (diff)
silly whitespace and similar fidling
Diffstat (limited to 'cron-jobs')
-rwxr-xr-xcron-jobs/repo-sanity-check8
-rwxr-xr-xcron-jobs/sourceballs22
2 files changed, 4 insertions, 6 deletions
diff --git a/cron-jobs/repo-sanity-check b/cron-jobs/repo-sanity-check
index 012b544..86f9629 100755
--- a/cron-jobs/repo-sanity-check
+++ b/cron-jobs/repo-sanity-check
@@ -1,5 +1,5 @@
#!/bin/bash
-# Solves issue165
+# Solves issue165... on the old flyspray install. I have no idea what issue that was.
. "$(dirname "$(readlink -e "$0")")/../config"
. "$(dirname "$(readlink -e "$0")")/../db-functions"
@@ -46,12 +46,10 @@ for _repo in "${PKGREPOS[@]}"; do
<(printf '%s\n' "${on_repo[@]}" | sort -u) ))
# Remove them from databases, ftpdir-cleanup will take care of the rest
- find "${FTP_BASE}/${_repo}" -name "*.db.tar.?z" -exec \
- repo-remove {} "${remove[@]}" >/dev/null 2>&1 \;
+ find "${FTP_BASE}/${_repo}" -name "*.db.tar.?z" \
+ -exec repo-remove {} "${remove[@]}" >/dev/null 2>&1 \;
msg2 "Removed the following packages:"
plain '%s' "${remove[@]}"
done
-
-exit $?
diff --git a/cron-jobs/sourceballs2 b/cron-jobs/sourceballs2
index c431e9f..e935f86 100755
--- a/cron-jobs/sourceballs2
+++ b/cron-jobs/sourceballs2
@@ -13,7 +13,7 @@ pushd "${WORKDIR}" >/dev/null
script_lock
-#adjust the nice level to run at a lower priority
+# Adjust the nice level to run at a lower priority
renice +10 -p $$ > /dev/null
# Create a list of all available source package file names