enigmail-seamonkey needs to re-register seamonkey's components

database after installation and removal
problem reported by chefren (chefren at pi dot net)
also, do not run registration with a predictable directory name as
root;  suggested by naddy@
looks good to kurt@.  ok naddy@
This commit is contained in:
martynas 2009-01-08 20:13:30 +00:00
parent 9670a34ce5
commit 3596dc92a0
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2008/12/18 21:06:38 martynas Exp $ # $OpenBSD: Makefile,v 1.6 2009/01/08 20:13:30 martynas Exp $
SHARED_ONLY= Yes SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= GnuPG extension for SeaMonkey
VER= 0.95.7 VER= 0.95.7
DISTNAME= enigmail-${VER} DISTNAME= enigmail-${VER}
PKGNAME= enigmail-seamonkey-${VER}p1 PKGNAME= enigmail-seamonkey-${VER}p2
CATEGORIES= mail security CATEGORIES= mail security

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/22 19:42:11 martynas Exp $ @comment $OpenBSD: PLIST,v 1.2 2009/01/08 20:13:30 martynas Exp $
seamonkey/chrome/enigmail-locale.jar seamonkey/chrome/enigmail-locale.jar
seamonkey/chrome/enigmail-skin-tbird.jar seamonkey/chrome/enigmail-skin-tbird.jar
seamonkey/chrome/enigmail-skin.jar seamonkey/chrome/enigmail-skin.jar
@ -16,3 +16,7 @@ seamonkey/defaults/preferences/
seamonkey/defaults/preferences/enigmail.js seamonkey/defaults/preferences/enigmail.js
seamonkey/install.js seamonkey/install.js
@exec %D/seamonkey/chrome/regchrome %D/seamonkey/install.js %D/seamonkey/chrome/installed-chrome.txt install @exec %D/seamonkey/chrome/regchrome %D/seamonkey/install.js %D/seamonkey/chrome/installed-chrome.txt install
@exec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regchrome && rm -fr $TEMP
@exec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regxpcom && rm -fr $TEMP
@unexec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regchrome && rm -fr $TEMP
@unexec TEMP=`mktemp -d` && cd %D/seamonkey && env HOME=$TEMP LD_LIBRARY_PATH=%D/seamonkey ./regxpcom && rm -fr $TEMP