diff options
author | ivan <ivan> | 2006-06-19 12:15:32 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-06-19 12:15:32 +0000 |
commit | 1ed201c9f897f768e3ec8b9e7aee0fcb8b2bfed1 (patch) | |
tree | 0872fa3e642ef98eb460d905a00530369d55edd3 /FS/bin | |
parent | b2ff1141cfaacfce2fd9c6e5b78fdae2bae95406 (diff) |
ACL bootstrapping
Diffstat (limited to 'FS/bin')
-rwxr-xr-x | FS/bin/freeside-upgrade | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade index 25d883fcf..a1212ae98 100755 --- a/FS/bin/freeside-upgrade +++ b/FS/bin/freeside-upgrade @@ -5,6 +5,7 @@ use vars qw($DEBUG $DRY_RUN); use Term::ReadKey; use DBIx::DBSchema 0.31; use FS::UID qw(adminsuidsetup checkeuid datasrc ); #getsecrets); +use FS::CurrentUser; use FS::Schema qw( dbdef dbdef_dist reload_dbdef ); $DEBUG = 1; @@ -12,6 +13,7 @@ $DEBUG = 1; die "Not running uid freeside!" unless checkeuid(); my $user = shift or die &usage; +$FS::CurrentUser::upgrade_hack = 1; my $dbh = adminsuidsetup($user); #needs to match FS::Schema... |