Revision 14214 branches/v10/prototypes/VectorialAvanzado/extensions/extGraph/install/distribucion.sh

View differences:

distribucion.sh
90 90
#Quitamos el ini, manifest y los CVS
91 91
rm ./tmpResources/*.ini ./tmpResources/*.manifest
92 92
find ./tmpResources -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
93
find ./tmpResources -name .svn -type d -exec rm -rf {} 2> /dev/null ';' || true
94
cp "$DIR_WIN_GVSIG"/resources/gvSIG.ini.J15 ./tmpResources/gvSIG.ini
93 95
echo OK.
94 96

  
95 97
# Estas extensiones se copian directamente al directorio destino, ya que no vamos a dar
......
146 148
chmod u+x "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/dist/launcher-Linux
147 149
cp -R "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/dist/* ./tmp_gvSIGInstall
148 150
chmod a+x ./tmp_gvSIGInstall/launcher-Linux
149
find . -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
150

  
151
rm ./tmp_gvSIGInstall/launcher.ini
152
cp "$DIR_LIN_GVSIG"/resources/launcher.ini.j15 ./tmp_gvSIGInstall/launcher.ini
151 153
sed "s/%JARNAME%/$JARNAME/" ./tmp_gvSIGInstall/launcher.ini > ./tmp_gvSIGInstall/launcher.ini.bak
152 154
mv ./tmp_gvSIGInstall/launcher.ini.bak ./tmp_gvSIGInstall/launcher.ini;
155
find "$INSTALLER_DIR" -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
156
find "$INSTALLER_DIR" -name .svn -type d -exec rm -rf {} 2> /dev/null ';' || true
157
find ./tmp_gvSIGInstall -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
158
find ./tmp_gvSIGInstall -name .svn -type d -exec rm -rf {} 2> /dev/null ';' || true
153 159

  
160

  
154 161
tar -cvzf ./tmp.tgz ./tmp_gvSIGInstall
155 162
echo '#!/bin/sh' > xx.tmp
156 163
lcount=`cat xx.tmp "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh | wc -l`
......
175 182
rm -f "$INSTALLER_DIR"/install.bat
176 183

  
177 184
find "$INSTALLER_DIR" -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
185
find "$INSTALLER_DIR" -name .svn -type d -exec rm -rf {} 2> /dev/null ';' || true
178 186

  
179 187
## hacemos las sustituciones de la variable
180 188
sed "s/%JARNAME%/$JARNAME/" "$INSTALLER_DIR"/launcher-Win32.ini > "$INSTALLER_DIR"/launcher-Win32.ini.bak

Also available in: Unified diff