#!/bin/sh # # $FreeBSD$ # ask() { local question default answer question=$1 default=$2 if [ -z "$BATCH" ]; then read -p "${question} [${default}]? " answer fi if [ x${answer} = x ]; then answer=${default} fi echo ${answer} } yesno() { local dflt question answer question=$1 dflt=$2 while :; do answer=$(ask "${question}" "${dflt}") case "${answer}" in [Yy]*) return 0;; [Nn]*) return 1;; esac echo "Please answer yes or no." done } delete_account() { local u g u=$1 g=$2 if yesno "Do you want me to remove group \"${g}\"" y; then pw groupdel -n ${g} echo "Done." fi if yesno "Do you want me to remove user \"${u}\"" y; then pw userdel -n ${u} echo "Done." fi } if [ "$2" != "POST-DEINSTALL" ]; then exit 0 fi if [ -n "$PACKAGE_BUILDING" ]; then delete_account ircservices ircservices fi id='cgit'>
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/etoile-azbackground
Commit message (Expand)AuthorAgeFilesLines
* - udpate to 0.4.1dinoex2009-03-203-4/+6
* - update etoile-0.4.0dinoex2008-11-252-5/+5
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1
* - update to etoile 0.2dinoex2008-05-113-12/+10
* - clean X11BASEdinoex2008-03-291-2/+2
* - update for gnustep-make-2.0.0dinoex2007-05-252-3/+4
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* - add category gnustepdinoex2007-02-011-1/+1
* - cleanup MASTER_SITESdinoex2007-01-141-2/+1