Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix default skin removal

  • Loading branch information...
commit f42134f815a9238b00dadb6e5a025f3371c48737 1 parent 79209a6
@thomascube thomascube authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/installto.sh
View
5 bin/installto.sh
@@ -63,10 +63,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";
}
Please sign in to comment.
Something went wrong with that request. Please try again.