From 252e11f0e5a4eba7859108e0fb4bb3593819276f Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sun, 23 Nov 2008 02:17:39 -0600 Subject: Remove some harmless error messages If add/del dirs exist, we try to fix it all up and it can error quite loudly Signed-off-by: Aaron Griffin --- db-update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'db-update') diff --git a/db-update b/db-update index c76337a..1d2efa2 100755 --- a/db-update +++ b/db-update @@ -97,7 +97,9 @@ if [ -d "${stagedir}/add" ]; then echo "Please delete staging//{add,del}" echo " and ensure you are using the newest devtools" echo "--------------------------------------------------" - /bin/mv "${stagedir}/add/"* "$stagedir/" + if [ -e "${stagedir}/add/"* ]; then + /bin/mv "${stagedir}/add/"* "$stagedir/" + fi fi to_add="" -- cgit v1.2.3-24-g4f1b