#! /bin/sh #------------------------------------------------------------------------------ # /var/install/deinstall/minipro - deinstall script # # Creation : 2018-07-11 daniel # Last Update: $Id$ # # Copyright (c) 2024 the eisfair team, team(at)eisfair(dot)org # # 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 package_name="minipro" #---------------------------------------------------------------------------- # check if we are updating #---------------------------------------------------------------------------- if [ "$1" = "--update" ] then update="true" else update="false" fi #---------------------------------------------------------------------------- # remove udev rules and group #---------------------------------------------------------------------------- if [ "${update}" = "false" ] then rm -f /etc/udev/rules.d/80-minipro.rules udevadm control --reload-rules /var/install/bin/remove-group -f "minipro" fi exit 0