Skip to content

Commit

Permalink
lvm: fix creation of default users before creation of lv
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Rabot <[email protected]>
  • Loading branch information
sylr committed Jul 20, 2011
1 parent 7058d3a commit 9436ee2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion data/data.mak
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

DATABASE_DATA = mimetypes.sql
DATABASE_DATA += conf.sql
ifeq ($(LVM_SUPPORT),yes)
DATABASE_DATA += lv.sql
endif
ifeq ($(DEFAULT_USERS),yes)
DATABASE_DATA += users.sql
endif
DATABASE_DATA += lv.sql
2 changes: 0 additions & 2 deletions data/lv.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
-- date: 10/03/2011
-- copyright: All rights reserved

#ifdef LVM_SUPPORT
SELECT mike.__lvcreate('lv_' || generate_series) FROM generate_series(1, LVM_DEFAULT_LV_NUMBER);
#endif

0 comments on commit 9436ee2

Please sign in to comment.