jablonka.czprosek.czf

freenet-router

Subversion Repositories:
[/] [trunk/] [freenet-router/] [DEBIAN/] [postrm] - Rev 2

Compare with Previous - Blame - Download


#!/bin/bash

set -e

case "$1" in
   remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
   ;;

   purge)
        # Apache
        a2ensite default
        a2dissite freenet-router
        a2dissite freenet-router-ssl    

        # Usefull commands
        rm -rf /usr/local/sbin/rw
        rm -rf /usr/local/sbin/ro

        # safe user
        deluser --remove-home safe
   ;;

   *)
      echo "postrm called with unknown argument \`\$1'" >&2
   ;;

esac

exit 0


Powered by WebSVN 2.2.1