diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-04-22 21:06:44 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-04-22 21:06:44 +0000 |
commit | 1f45b4ddb1433d5630d6ae689aba035c266198b9 (patch) | |
tree | 00f77300ed4e914bf25fe388bc40472030ea1199 /japanese/esecanna/pkg-plist | |
parent | Update to 1.05. (diff) |
- Stop the server when deleted.
- Disable canna.sh when installed, and enable it back when deleted.
Notes
Notes:
svn path=/head/; revision=58003
Diffstat (limited to '')
-rw-r--r-- | japanese/esecanna/pkg-plist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/japanese/esecanna/pkg-plist b/japanese/esecanna/pkg-plist index 7c49ba0ce1e4..c08d47eac242 100644 --- a/japanese/esecanna/pkg-plist +++ b/japanese/esecanna/pkg-plist @@ -1,5 +1,8 @@ etc/esecannarc +@unexec if [ -x %D/etc/rc.d/esecanna.sh ]; then %D/etc/rc.d/esecanna.sh stop || true; fi etc/rc.d/%%STARTER%% +@unexec if [ -f %B/canna.sh ]; then chmod +x %B/canna.sh; fi +@exec if [ -x %B/canna.sh ]; then chmod -x %B/canna.sh; fi @exec mkdir -p %D/lib/esecanna @dirrm lib/esecanna sbin/esecannaserver |