[mapguide-commits] r4745 - trunk/Installer/scripts
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Tue Apr 6 19:23:19 EDT 2010
Author: trevorwekel
Date: 2010-04-06 19:23:19 -0400 (Tue, 06 Apr 2010)
New Revision: 4745
Added:
trunk/Installer/scripts/mguninstallubuntu.sh
Modified:
trunk/Installer/scripts/mginstallubuntu.sh
Log:
Ticket #1295 Improve build scripts for 2.2 release cycle
- Update Ubuntu install script for installation on a clean Ubuntu 9.10 image
- Add uninstall script for Ubuntu
Modified: trunk/Installer/scripts/mginstallubuntu.sh
===================================================================
--- trunk/Installer/scripts/mginstallubuntu.sh 2010-04-06 15:56:33 UTC (rev 4744)
+++ trunk/Installer/scripts/mginstallubuntu.sh 2010-04-06 23:23:19 UTC (rev 4745)
@@ -7,6 +7,22 @@
mkdir -p ${TEMPDIR}
pushd ${TEMPDIR}
+# Install required packages
+apt-get -y install libexpat1 libssl0.9.8 odbcinst1debian1 unixodbc libmysqlclient15off
+
+# Resolve CentOS 5.4 / Ubuntu 9.10 shared lib differences with symlinks
+if [ ! -e /lib/libcrypto.so.6 ]; then
+ ln -s /lib/libcrypto.so.0.9.8 /lib/libcrypto.so.6
+fi
+
+if [ ! -e /lib/libssl.so.6 ]; then
+ ln -s /lib/libssl.so.0.9.8 /lib/libssl.so.6
+fi
+
+if [ ! -e /lib/libexpat.so.0 ]; then
+ ln -s /lib/libexpat.so.1 /lib/libexpat.so.0
+fi
+
# Download Ubuntu packages for FDO
for file in core gdal kingoracle ogr postgis rdbms sdf shp sqlite wfs wms
do
@@ -33,19 +49,3 @@
popd
-# Install required packages missed due CentOS 5.4 / Ubuntu 9.10 differences
-apt-get install expat libssl0.9.8
-
-# Resolve CentOS 5.4 / Ubuntu 9.10 shared lib differences with symlinks
-if [ ! -e /lib/libcrypto.so.6 ]; then
- ln -s /lib/libcrypto.so.0.9.8 /lib/libcrypto.so.6
-fi
-
-if [ ! -e /lib/libssl.so.6 ]; then
- ln -s /lib/libssl.so.0.9.8 /lib/libssl.so.6
-fi
-
-if [ ! -e /lib/libexpat.so.0 ]; then
- ln -s /lib/libexpat.so.1 /lib/libexpat.so.0
-fi
-
Added: trunk/Installer/scripts/mguninstallubuntu.sh
===================================================================
--- trunk/Installer/scripts/mguninstallubuntu.sh (rev 0)
+++ trunk/Installer/scripts/mguninstallubuntu.sh 2010-04-06 23:23:19 UTC (rev 4745)
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Remove Ubuntu packages for MapGuide
+for file in server webextensions httpd common
+do
+ dpkg --remove mapguideopensource-${file}
+done
+
+# Remove Ubuntu packages for FDO
+for file in gdal kingoracle ogr postgis rdbms sdf shp sqlite wfs wms core
+do
+ dpkg --remove fdo-${file}
+done
+
+
Property changes on: trunk/Installer/scripts/mguninstallubuntu.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the mapguide-commits
mailing list