#! /bin/bash # ---------------------------------------------------------------------------- # /var/install/deinstall/openjdk-7-jre - deinstall script # # Creation : 2014-07-23 schlotze # Last update: $Id$ # # Copyright (c) 2014 the eisfair team, # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # ---------------------------------------------------------------------------- # include eislib . /var/install/include/eislib #---------------------------------------------------------------------------- # check if we are updating #---------------------------------------------------------------------------- if [ "$1" = "--update" ] then update="true" else update="false" fi #---------------------------------------------------------------------------- # remove links from alternatives #---------------------------------------------------------------------------- update-alternatives --remove jre /usr/jvm/openjdk-7/bin/java exit 0