#! /bin/sh
#----------------------------------------------------------------------------
# libmcrypt-dev - Deinstallation
#
# Copyright (c) 2006 Marc Oliver Ulfig   <eisfair@shadowhost.de>
#
# Creation:     2005/02/17 / 14:14:00   MOU
# Last Update:  2006/01/07 / 20:07:36   MOU
#
# 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 EisFair Lib if there and show a message
#----------------------------------------------------------------------------
if [ -f /var/install/include/eislib ] ; then
    . /var/install/include/eislib
    #------------------------------------------------------------------------
    # New Script Message
    #------------------------------------------------------------------------
    mecho -info "  deinstalling libmcrypt-dev..."
else
    #------------------------------------------------------------------------
    # Old Script Message
    #------------------------------------------------------------------------
    echo "  deinstalling libmcrypt-dev..."
fi


#----------------------------------------------------------------------------
# Remove list
#----------------------------------------------------------------------------
rm -f /usr/lib/libmcrypt.la
rm -f /usr/include/mcrypt.h
rm -f /var/install/packages/libmcrypt-dev
rm -f /var/install/deinstall/libmcrypt-dev
rm -f /etc/filelist.d/libmcrypt-dev-files.txt

#----------------------------------------------------------------------------
# Ende von: libmcrypt-dev - Deinstallation
#----------------------------------------------------------------------------
exit 0