#! /bin/sh # # $FreeBSD$ PATH=/bin:/usr/bin:/usr/sbin case $2 in DEINSTALL) echo "---> Starting deinstall script:" if /usr/bin/crontab -u "%%USER%%" -l | \ /usr/bin/diff - %%MAILMANDIR%%/cron/crontab.in >/dev/null 2>&1 ; then echo "---> Zeroing crontab for \"%%USER%%\"" /usr/bin/crontab -u "%%USER%%" /dev/null else echo "---> Crontab for \"%%USER%%\" not removed: please deinstall" echo "---> manually if you no-longer wish to use Mailman. eg:" echo "---> /usr/bin/crontab -u "%%USER%%" -r" fi echo "---> Stopping Mailman's qrunner daemon" %%PREFIX%%/etc/rc.d/mailman.sh stop >/dev/null 2>&1 /bin/sleep 2 echo "---> Preserving the \"last_mailman_version\" file" /bin/cp -f %%MAILMANDIR%%/data/last_mailman_version /var/tmp/ # If the errorlog is the only existing logfile, delete it. (If Mailman's # qrunner had not been running, then the process of trying to stop the # qrunner (above) will cause the errorlog to be written to. Hence, even if # the Mailman port/package is installed and immediately deinstalled, the # errorlog will exist.) if [ "`echo %%MAILMANDIR%%/logs/*`" = "%%MAILMANDIR%%/logs/error" ]; then echo "---> Deleting errorlog (It is the only existing logfile.)" /bin/rm -f %%MAILMANDIR%%/logs/error fi ;; POST-DEINSTALL) echo "---> Starting post-deinstall script:" if [ -d %%MAILMANDIR%% ]; then echo '---> %%MAILMANDIR%% is not empty - this installation may have active lists!' echo "---> Restoring \"last_mailman_version\" file" [ -d %%MAILMANDIR%%/data ] || /bin/mkdir %%MAILMANDIR%%/data /bin/mv -f /var/tmp/last_mailman_version %%MAILMANDIR%%/data/ fi echo '---> - If you are not using Mailman any more, you should manually delete' echo '---> - the "%%USER%%" user and "%%GROUP%%" group.' echo '---> - You may delete them with "pw groupdel %%GROUP%%; pw userdel %%USER%%".' ;; esac devel/electron4/files/ini-1.3.7'>dependabot/npm_and_yarn/devel/electron4/files/ini-1.3.7 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/k3b
Commit message (Expand)AuthorAgeFilesLines
* Chase the merge of sysutils/mkisofs into sysutils/cdrtools.netchild2004-06-031-2/+2
* Upgrade to 0.11.9.linimon2004-05-2817-327/+360
* Chase the glib20 update, and bump all affected ports' PORTREVISIONs.marcus2004-04-051-0/+1
* Clean up USE_{LIBTOOL,AUTOCONF,AUTOMAKE} to appropriate *_VER variablesade2004-03-251-1/+1
* - Update to 0.11.6markus2004-03-1922-1790/+539
* Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-141-1/+1
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1
* Fix plist and fix up pkg-message. Prodded by: kris.linimon2004-01-252-7/+4
* Update to 0.10.3:linimon2004-01-084-10/+15