Annotation of OpenXM/misc/packages/Linux/Debian2/debian/openxm.postinst, Revision 1.7
1.1 takayama 1: #!/bin/bash
2: if [ -x /usr/bin/update-menus ] ; then
3: update-menus ;
4: fi
5: #
1.7 ! takayama 6: rm -rf $HOME/.asir-tmp
1.1 takayama 7: OpenXM_HOME=/usr/local/OpenXM /usr/local/OpenXM/download/openxm-install.sh
1.7 ! takayama 8: rm -rf $HOME/OpenXM_tmp
1.1 takayama 9: #
1.2 takayama 10: if [ -f /usr/local/bin/openxm ] ; then
11: echo "--------------------------------------------------------------------------" ;
12: echo "If you will install asir now under /usr/local/OpenXM/bin, please answer y." ;
13: echo "If not (e.g., installing this package for commercial system,) " ;
14: echo "please answer n." ;
15: echo "--------------------------------------------------------------------------" ;
16: (export OpenXM_HOME=/usr/local/OpenXM ; /usr/local/bin/openxm asir-install.sh) ;
17: fi
1.5 takayama 18: rm -rf /root/.asir-tmp
1.7 ! takayama 19: (cd /usr/local/OpenXM && chown -fR root *)
1.3 takayama 20: echo "Installation of the package of openxm is completed."
1.1 takayama 21:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>