diff options
author | ivan <ivan> | 2009-04-11 20:51:32 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-04-11 20:51:32 +0000 |
commit | 62cc660119e445d90f5dccf2bdfd661dbbe70ac9 (patch) | |
tree | a237f048780a141eec7512b260349f4ca69ebcd6 | |
parent | 8a58ae3af817dd6f6d326fd934ce9feb90d6f800 (diff) |
don't run configuration update when -s is used for schema-only slony slave update
-rwxr-xr-x | FS/bin/freeside-upgrade | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade index c988e130a..24f577f11 100755 --- a/FS/bin/freeside-upgrade +++ b/FS/bin/freeside-upgrade @@ -127,7 +127,7 @@ $FS::UID::AutoCommit = 0; $FS::UID::callback_hack = 1; $dbh = adminsuidsetup($user); $FS::UID::callback_hack = 0; -unless ( $DRY_RUN ) { +unless ( $DRY_RUN || $opt_s ) { my $dir = "%%%FREESIDE_CONF%%%/conf.". datasrc; if (!scalar(qsearch('conf', {}))) { my $error = FS::Conf::init_config($dir); |