summaryrefslogtreecommitdiff
path: root/install_packages.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-03-06 21:22:37 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-03-06 21:22:37 +0000
commit388a64f953521d5b3ae41804ce893184286e003e (patch)
treec0292375ec322e744649e04c1263b78117c9e1a7 /install_packages.php
parent280f8095c9d1402cd05c4ace2b09736a1cd22519 (diff)
downloadinstall-388a64f953521d5b3ae41804ce893184286e003e.tar.gz
install-388a64f953521d5b3ae41804ce893184286e003e.tar.bz2
install-388a64f953521d5b3ae41804ce893184286e003e.zip
force resetting of package_<package> value in kernel_config
Diffstat (limited to 'install_packages.php')
-rw-r--r--install_packages.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/install_packages.php b/install_packages.php
index 03e1182..aadd28c 100644
--- a/install_packages.php
+++ b/install_packages.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.51 2007/03/06 20:20:11 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_install/install_packages.php,v 1.52 2007/03/06 21:22:37 squareing Exp $
* @package install
* @subpackage functions
*/
@@ -261,6 +261,8 @@ if( !empty( $_REQUEST['cancel'] ) ) {
// set installed packages active
if( $method == 'install' || $method == 'reinstall' ) {
+ // apparently we need to first remove the vaue from the database to make sure it's set
+ $gBitSystem->storeConfig( 'package_'.$package , NULL );
$gBitSystem->storeConfig( 'package_'.$package , 'y', $package );
$gBitInstaller->mPackages[ $package ]['installed'] = TRUE;
$gBitInstaller->mPackages[ $package ]['active_switch'] = TRUE;