diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-08-05 14:13:13 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-08-05 14:13:13 +0200 |
commit | a025cddbc5643d1e8c9d2bf733a101417213d91b (patch) | |
tree | f6272e4c8d05a2a50362667ca44f35abc4717fe6 | |
parent | 471d5593744db7fcbee602667e9e098da8cc1791 (diff) |
Fix default skin removal
-rwxr-xr-x | bin/installto.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/installto.sh b/bin/installto.sh index 7fdd1b909..de96bf004 100755 --- a/bin/installto.sh +++ b/bin/installto.sh @@ -60,10 +60,11 @@ if (strtolower($input) == 'y') { if (is_dir("$target_dir/skins/default")) { echo "Removing old default skin..."; - system("rm -rf $target_dir/skins/default"); + system("rm -rf $target_dir/skins/default $target_dir/plugins/jqueryui/themes/default"); foreach (glob(INSTALL_PATH . "plugins/*/skins") as $plugin_skin_dir) { $plugin_skin_dir = preg_replace('!^.*' . INSTALL_PATH . '!', '', $plugin_skin_dir); - system("rm -rf $target_dir/$plugin_skin_dir/default"); + if (is_dir("$target_dir/$plugin_skin_dir/classic")) + system("rm -rf $target_dir/$plugin_skin_dir/default"); } echo "done.\n\n"; } |