]> wagnertech.de Git - mfinanz.git/blobdiff - scripts/dbupgrade2_tool.pl
Umstrukturierung des Verzeichnisses "modules": Das Unterverzeichnis "override" enthäl...
[mfinanz.git] / scripts / dbupgrade2_tool.pl
index 0e1194dc87bff3f17374b625233fc2e00b48b03a..1d1403eba7ff072f1017368fcdba30e7ed9c4239 100755 (executable)
@@ -6,7 +6,8 @@ BEGIN {
     exit(1);
   }
 
-  push(@INC, "modules");
+  unshift @INC, "modules/override"; # Use our own versions of various modules (e.g. YAML).
+  push    @INC, "modules/fallback"; # Only use our own versions of modules if there's no system version.
 }
 
 use English '-no_match_vars';
@@ -54,6 +55,8 @@ dbupgrade2_tool.pl [options]
                          all database upgrades and their dependencies.
                          If no file name is given then the output is
                          written to 'db_dependencies.ps'.
+    --nodeps             List all database upgrades that no other upgrade
+                         depends on
     --apply=tag          Applies the database upgrades 'tag' and all
                          upgrades it depends on. If '--apply' is used
                          then the option '--user' must be used as well.
@@ -65,7 +68,10 @@ dbupgrade2_tool.pl [options]
 END_HELP
     ;
 
+  # Syntax-Highlighting-Fix für Emacs: '
+
   print $help_text;
+
   exit 0;
 }