summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'setup.php')
-rwxr-xr-xsetup.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.php b/setup.php
index e65cc91..24bc0a5 100755
--- a/setup.php
+++ b/setup.php
@@ -26,6 +26,12 @@ foreach (get_declared_classes() as $class) {
}
echo_and_query($o->create_table());
}
+foreach (get_pkgdirs() as $dir) {
+ echo 'Creating profile for '.$conf['pkgdir_root'].'/'.$dir.'...';
+ $profile=new sql_profile($dir, null, null, '');
+ $profile->write();
+ echo "done\n";
+}
do {
if ($user->email) {
echo 'Invalid entry: '.$user->email."\n";