diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-26 13:50:12 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-03-26 13:50:12 +0000 |
commit | 3d9be362ccdf59b1ae49da0f7a73006b89d61567 (patch) | |
tree | a758a532b67e7da6c660265422822461b990b6a9 /mail/squirrelmail-change_ldappass-plugin | |
parent | a1d06530b35ee007c28530e90059f63891b4aa03 (diff) |
Notes
Diffstat (limited to 'mail/squirrelmail-change_ldappass-plugin')
-rw-r--r-- | mail/squirrelmail-change_ldappass-plugin/Makefile | 2 | ||||
-rw-r--r-- | mail/squirrelmail-change_ldappass-plugin/pkg-plist | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/squirrelmail-change_ldappass-plugin/Makefile b/mail/squirrelmail-change_ldappass-plugin/Makefile index 5b00ab2acfa5..a5f46f8f82e4 100644 --- a/mail/squirrelmail-change_ldappass-plugin/Makefile +++ b/mail/squirrelmail-change_ldappass-plugin/Makefile @@ -61,8 +61,10 @@ do-install: post-install: .ifndef WITHOUT_ACTIVATE +.if exists( ${SQUIRRELDIR}/config/config.php ) @${ECHO} "Activating plug-in in SquirrelMail" ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} +.endif .else @${ECHO} "To activate the plug-in in SquirrelMail use" @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" diff --git a/mail/squirrelmail-change_ldappass-plugin/pkg-plist b/mail/squirrelmail-change_ldappass-plugin/pkg-plist index 9c84c0d0ce3f..222197d619f5 100644 --- a/mail/squirrelmail-change_ldappass-plugin/pkg-plist +++ b/mail/squirrelmail-change_ldappass-plugin/pkg-plist @@ -1,4 +1,4 @@ -@unexec %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin change_ldappass +@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin change_ldappass; fi %%SQUIRRELDIR%%/plugins/change_ldappass/locale/fr_FR/LC_MESSAGES/change_ldappass.mo %%SQUIRRELDIR%%/plugins/change_ldappass/locale/fr_FR/LC_MESSAGES/change_ldappass.po %%SQUIRRELDIR%%/plugins/change_ldappass/locale/pl/LC_MESSAGES/change_ldappass.mo @@ -42,4 +42,4 @@ @dirrm %%SQUIRRELDIR%%/plugins/change_ldappass/locale/el_GR @dirrm %%SQUIRRELDIR%%/plugins/change_ldappass/locale @dirrm %%SQUIRRELDIR%%/plugins/change_ldappass/ -@exec %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin change_ldappass +@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin change_ldappass; fi |