summaryrefslogtreecommitdiff
path: root/help/cleaner_help.sce
diff options
context:
space:
mode:
Diffstat (limited to 'help/cleaner_help.sce')
-rw-r--r--help/cleaner_help.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/help/cleaner_help.sce b/help/cleaner_help.sce
new file mode 100644
index 0000000..6ebe58d
--- /dev/null
+++ b/help/cleaner_help.sce
@@ -0,0 +1,17 @@
+help_dir = get_absolute_file_path('cleaner_help.sce');
+
+// Cleaning en_US directory
+if isdir(help_dir + "/en_US") then
+ xmlfiles = findfiles(help_dir + "/en_US/", "*.xml");
+ if ~isempty(xmlfiles) then
+ deletefile(help_dir+ "/en_US/" + xmlfiles);
+ end
+ rmdir(help_dir + "/en_US/scilab_en_US_help", "s");
+end
+
+// Cleaning the jar files
+if isdir(root_tlbx + "/jar/") then
+ rmdir(root_tlbx + "/jar","s");
+end
+
+clear help_dir xmlfiles ; \ No newline at end of file