summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-15 19:31:03 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-01-15 19:31:03 -0200
commit0684ad038134d7c9ccbaebc709c4267a904b98b9 (patch)
treee6297929e33b3e9590dfcddc427dbace1d8cb714
parent2d217815fcfe05152272c20e49e4e69927d04a35 (diff)
db-update: add shopt -s nullglob and remove mail script to maintenance@lists.parabolagnulinux.org because it's unstable
-rwxr-xr-xdb-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/db-update b/db-update
index 73d5d3f..186ed55 100755
--- a/db-update
+++ b/db-update
@@ -3,6 +3,8 @@
. "$(dirname "$(readlink -e "$0")")/config"
. "$(dirname "$(readlink -e "$0")")/db-functions"
+shopt -s nullglob
+
if [ $# -ge 1 ]; then
warning "Calling ${0##*/} with a specific repository is no longer supported"
exit 1
@@ -91,6 +93,5 @@ while read -r file; do
else
mkdir -p -- "${pub%/*}"
mv -vn "$file" "$pub"
- echo "At `date`, script \"`basename $0`\" mailed to "maintenance@lists.parabolagnulinux.org"."
fi
done < <(find other sources -type f)