#!/bin/sh #---------------------------------------------------------------------------- # /var/install/deinstall/pcmcia - deinstall script # # Creation : 2016-11-22 holbru # Last update: $Id$ # # Copyright (c) 2016-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # 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=pcmcia # set filelist filelist=/etc/filelist.d/${package_name}-files.txt # check for update is given case "${1}" in 'update'|'--update') update=true ;; esac # --------------------------------------------------------------------------- # stop remove for update only # --------------------------------------------------------------------------- if "${update:-false}" then exit 0 fi # --------------------------------------------------------------------------- # remove package from menu system / remove all menu and config files # --------------------------------------------------------------------------- /var/install/bin/del-menu \ setup.system.hardware.menu \ setup.system.hardware.${package_name}.menu exit 0 # --------------------------------------------------------------------------- # end # ---------------------------------------------------------------------------