source: lliurex-java-panel/trunk/fuentes/debian/prerm @ 3668

Last change on this file since 3668 was 3668, checked in by jrpelegrina, 3 years ago

WIP in swing properties

File size: 605 bytes
Line 
1#!/bin/sh
2set -e
3
4#VARS
5SWING_FILE_OPENJDK8="/etc/java-8-openjdk/swing.properties"
6SWING_FILE_LLIUREX="/usr/share/lliurex-java-panel/swing.properties"
7PACKAGE_NAME="lliurex-java-panel"
8
9case $1 in
10        remove|purge|abort-install|disappear)
11                if [ -f ${SWING_FILE_OPENJDK8}.real ] ; then
12                        rm -f ${SWING_FILE_OPENJDK8}
13                        dpkg-divert --package  ${OUR_PACKAGE} --rename --quiet --remove ${SWING_FILE_OPENJDK8}|| true
14                fi
15               
16                ;;
17        *)
18                echo "Nothing to do"
19                ;; 
20esac
21
Note: See TracBrowser for help on using the repository browser.