Masato Taruishi
taru****@users*****
2004年 10月 26日 (火) 12:35:13 JST
=================================================================== RCS file: ultrapossum/module/client/update-client,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ultrapossum/module/client/update-client 2004/10/11 09:54:52 1.10 +++ ultrapossum/module/client/update-client 2004/10/26 03:35:13 1.11 @@ -24,6 +24,7 @@ trap "/bin/rm -f $tmp; eval `ultrapossum-config term`" 0 id="CLIENT" +. $SHAREDIR/plugin configure() { if test "x$LDAPCONF" != "x"; then @@ -57,29 +58,5 @@ fi } -sanity() { - : -} - -case "x$1" in - xconfigure) - configure - ultrapossum-config set .status ULTRAPOSSUM_MODULE_CLIENT=installed - ;; - xremove) - remove - ultrapossum-config remove .status ULTRAPOSSUM_MODULE_CLIENT - ;; - xsanity) - sanity - ;; - x) - echo "Usage: $0 <configure|remove|sanity>" 1>&2 - exit 1 - ;; - x*) - echo "Unknown argument: $1" 1>&2 - exit 1 - ;; -esac +update "$1"