From 79209a67b0f56f8479d4319a2b8fdec8eda8ed6f Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Sun, 05 Aug 2012 08:01:45 -0400
Subject: [PATCH] Update installto/update script to remove old default skins and copy all necessary files; repeat notice about missing config options after auto-update

---
 bin/update.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/bin/update.sh b/bin/update.sh
index 46874eb..9c71be2 100755
--- a/bin/update.sh
+++ b/bin/update.sh
@@ -114,6 +114,12 @@
         if ($write1 && $write2) {
           echo "Done.\n";
           echo "Your configuration files are now up-to-date!\n";
+
+          if ($messages['missing']) {
+            echo "But you still need to add the following missing options:\n";
+            foreach ($messages['missing'] as $msg)
+              echo "- '" . $msg['prop'] . ($msg['name'] ? "': " . $msg['name'] : "'") . "\n";
+          }
         }
         else {
           echo "Failed to write config files!\n";

--
Gitblit v1.9.1