Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://apmd_3.2.2-8.1_i386.deb:50716/postrm  info  downloads

#!/bin/sh
#
# This is the postrm script for the Debian GNU/Linux apmd package
#
# Written by Dirk Eddelbuettel <edd@debian.org>   

set -e

del_link ()
{
    for FN in "${@}"; do
	if [ -h "${FN}" ]; then
	    rm -f "${FN}" || true
	fi
    done
}

case "$1" in
(purge)
    del_link /etc/apm/suspend.d/99hwclock /etc/apm/resume.d/00hwclock
    [ -d /etc/apm/resume.d ] && rmdir -p --ignore-fail-on-non-empty /etc/apm/resume.d
    [ -d /etc/apm/suspend.d ] && rmdir -p --ignore-fail-on-non-empty /etc/apm/suspend.d
    ;;
esac

# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
	update-rc.d apmd remove >/dev/null || exit $?
fi
# End automatically added section


exit 0
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions