Advertisement
Guest User

Untitled

a guest
Mar 16th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.35 KB | None | 0 0
  1. #!/bin/sh
  2. # postrm script for psswitcher
  3. set -e
  4.  
  5. case "$1" in
  6.     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  7.     FILE="/etc/event.d/psswitcherd"
  8.     if [ -f $FILE ];
  9.     then
  10.         rm $FILE
  11.     fi
  12.     ;;
  13.  
  14.     *)
  15.         echo "postrm called with unknown argument \`$1'" >&2
  16.         exit 1
  17.     ;;
  18. esac
  19.  
  20. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement