diff options
author | Oliver Tappe | 2008-02-17 16:03:34 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-02-17 16:03:34 +0100 |
commit | 4c8359cb5a61e2aa28c2f19f20ab8300b856ea80 (patch) | |
tree | a317e44b1cbe979e9f83a5cf47685563ab719c6a /config-db | |
parent | * added explicit error message about trying to apply actions to the (diff) | |
download | core-4c8359cb5a61e2aa28c2f19f20ab8300b856ea80.tar.gz core-4c8359cb5a61e2aa28c2f19f20ab8300b856ea80.tar.xz core-4c8359cb5a61e2aa28c2f19f20ab8300b856ea80.zip |
* added vendor-OS '<<<default>>>', which holds the plugins which shall be
installed automatically into every vendor-OS that is being generated.
Currently, the only default-plugin is 'theme'.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1556 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r-- | config-db/OpenSLX/DBSchema.pm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/config-db/OpenSLX/DBSchema.pm b/config-db/OpenSLX/DBSchema.pm index b6211c74..5d7ca786 100644 --- a/config-db/OpenSLX/DBSchema.pm +++ b/config-db/OpenSLX/DBSchema.pm @@ -35,7 +35,7 @@ use OpenSLX::Basics; ### fk => foreign key (integer) ################################################################################ -my $VERSION = 0.26; +my $VERSION = 0.27; my $DbSchema = { 'version' => $VERSION, @@ -672,6 +672,20 @@ sub _schemaUpgradeDBFrom return 1; }, + 0.27 => sub { + my $metaDB = shift; + + # add default vendor-OS, which holds info about the plugins that shall + # be automatically installed into all vendor-OS that are being created. + $metaDB->addVendorOS([{ + id => '0', + name => '<<<default>>>', + comment => 'holds default plugins for all vendor-OS', + }]); + $metaDB->addInstalledPlugin(0, 'theme'); + + return 1; + }, ); 1; |