#! /bin/sh #----------------------------------------------------------------------------- # /var/install/deinstall/sudo - deinstall script # # Creation : 2010-11-07 holbru # Last update: $Id$ # # Copyright (c) 2010-@@YEAR@@ 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. #----------------------------------------------------------------------------- # set package name package_name=sudo # check for update is given if [ "${1}" = "--update" ] then update=true fi # --------------------------------------------------------------------------- # stop for update only # --------------------------------------------------------------------------- if ${update:-false} then exit 0 fi rm -f /etc/sudoers rm -rf /etc/sudoers.d rm -rf /var/lib/sudo exit 0 # --------------------------------------------------------------------------- # end # ---------------------------------------------------------------------------