[Lunar-commits]
CVS: moonbase/devel/db BUILD, 1.3, 1.4 POST_INSTALL, 1.3, 1.4
Stefan Wold
ratler at lunar-linux.org
Mon Jan 24 23:07:51 UTC 2005
Update of /var/cvs/lunar/moonbase/devel/db
In directory espresso.foo-projects.org:/tmp/cvs-serv10406
Modified Files:
BUILD POST_INSTALL
Log Message:
Final fix for auto rebuild if db still version 3.x
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/db/BUILD,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BUILD 24 Jan 2005 19:58:00 -0000 1.3
+++ BUILD 24 Jan 2005 23:07:49 -0000 1.4
@@ -1,6 +1,6 @@
(
if [ `lvu installed db | cut -d. -f1` == "3" ]; then
- OLD_DB="y"
+ set_module_config OLD_DB y
fi
cd build_unix &&
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/devel/db/POST_INSTALL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- POST_INSTALL 24 Jan 2005 21:18:48 -0000 1.3
+++ POST_INSTALL 24 Jan 2005 23:07:49 -0000 1.4
@@ -1,6 +1,6 @@
# Migration code sucks
-
-if [ $OLD_DB == "y" ]; then
+OLD_DB=`get_module_config OLD_DB`
+if [ "$OLD_DB" == "y" ]; then
for mod in apache apache-mod_ssl bsddb3 dctc \
drac exim gnome-libs heimdal latex2html \
perl php php5 wvstreams xemacs bdb-ruby \
@@ -10,3 +10,4 @@
fi;
done;
fi
+unset_module_config OLD_DB
More information about the Lunar-commits
mailing list