openbsd-ports/www/mycalendar/pkg/DEINSTALL
kevlo 3da1e15405 Initial import of mycalendar 1.5.
My Calendar is a lightweight, easy-to-use Web calendar.
There is also an included email script that you can have cron run everyday
to remind you of upcoming appointments.
Included is a script to convert an online calendar to a printable postscript
format using pscal.
2002-07-17 03:14:13 +00:00

26 lines
586 B
Bash

#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/07/17 03:14:13 kevlo Exp $
#
# mycalendar de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/var/www}
CGI_DIR=${PREFIX}/cgi-bin/calendar
if [ -d $CGI_DIR ]; then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package"
echo "| you need to perform this step as root:"
echo "|"
echo "| rm -rf ${CGI_DIR}"
echo "|"
echo "| Do not do this if you plan on re-installing"
echo "| $1 at some future time."
echo "+---------------"
echo
fi
exit 0