1998-08-03 00:15:02 +00:00
|
|
|
#!/bin/sh
|
|
|
|
/usr/bin/dialog --title "ja-diclookup-mule deinstallation script" --clear \
|
|
|
|
--yesno "\n\
|
|
|
|
Removing diclookup-mule initialization code from site-start.el \n\
|
|
|
|
Are you sure?" -1 -1
|
|
|
|
RETVAL=$?
|
|
|
|
|
|
|
|
if [ "X${RETVAL}" = "X0" ] ; then # answer is `Yes'. hack diclookup-mule.
|
1999-03-05 04:26:31 +00:00
|
|
|
cp PREFIX_DIR/share/mule/19.34/site-lisp/site-start.el PREFIX_DIR/share/mule/19.34/site-lisp/site-start.el.bak
|
|
|
|
grep -v diclookup-mule PREFIX_DIR/share/mule/19.34/site-lisp/site-start.el.bak > PREFIX_DIR/share/mule/19.34/site-lisp/site-start.el
|
1998-08-03 00:15:02 +00:00
|
|
|
|
|
|
|
/usr/bin/dialog --title "Message" --clear \
|
|
|
|
--msgbox "Thank you for using diclookup-mule. A bientot." -1 -1
|
|
|
|
fi
|