Attempt to support pkg upgrade through scripts WRT last_mailman_version.
This commit is contained in:
parent
744f32ac48
commit
3dff4583e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462349
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= mailman
|
||||
DISTVERSION= 2.1.26
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= GNU \
|
||||
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
|
||||
|
@ -84,6 +84,11 @@ POST-INSTALL)
|
||||
|
||||
echo "---> Running update"
|
||||
|
||||
if test -r /var/tmp/last_mailman_version ; then
|
||||
mkdir -p "%%MAILMANDIR%%/data"
|
||||
mv -f /var/tmp/last_mailman_version "%%MAILMANDIR%%/data"
|
||||
fi
|
||||
|
||||
LC_ALL=C "%%MAILMANDIR%%/bin/update"
|
||||
|
||||
echo "---> Checking crontab(5) file for user \"%%USER%%\""
|
||||
|
Loading…
Reference in New Issue
Block a user