source: jclic/trunk/fuentes/debian/jclic/DEBIAN/prerm @ 3466

Last change on this file since 3466 was 3466, checked in by Juanma, 4 years ago

Updated to 3.2.1

  • Property svn:executable set to *
File size: 363 bytes
Line 
1#!/bin/sh
2
3set -e
4
5#Testear los directorios de las posibles máquinas java para borrar enlaces al driver de mysql
6LISTA=$(ls /usr/lib/jvm)
7for elemento in $LISTA
8        do
9                if [ ! -h /usr/lib/jvm/$elemento ]; then
10                        if [ -d /usr/lib/jvm/$elemento/jre/lib/ext ]; then   
11                                rm -rf /usr/lib/jvm/$elemento/jre/lib/ext/mysql-connector-java.jar
12                        fi
13                fi
14done
15
16
17
18exit 0
Note: See TracBrowser for help on using the repository browser.