Commit d609994c authored by Claes Sjofors's avatar Claes Sjofors

Directory database file directory.wb_load created when project is created

parent 5fbc13d1
......@@ -613,6 +613,13 @@ Edit file \$pwrp_cnf/xtt_help.dat to write this description.
<include> \$pwr_lang/nmps_xtthelp.dat
<include> \$pwr_lang/ssabox_xtthelp.dat
EOF
# Create an empty directory database
echo "Creating directory database"
cat > $proot/src/db/directory.wb_load << EOF
Volume directory \$DirectoryVolume 254.254.254.253
EndVolume
EOF
# Set ownership to user and group pwrp
......@@ -627,25 +634,7 @@ EOF
chmod -R g+w $proot/
fi
# Insert in projectlist
pwrc_prlist_read
if [ $pwrc_status -ne $pwrc__success ]; then
return
fi
pwrc_prlist_add $@
# pwrc_prlist_write
if [ $pwrc_status -ne $pwrc__success ]; then
return
fi
pwrc_set_func "project" $pname
if [ $pwrc_status -ne $pwrc__success ]; then
return
fi
# Create an empty directory database
echo "Creating directory database"
wb_cmd create volume/directory
pwrc_status=$pwrc__success
return
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment