Masato Taruishi
taru****@sourc*****
2004年 6月 30日 (水) 10:25:58 JST
=================================================================== RCS file: demo/uml/debian/ultrapossum-uml.postinst,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- demo/uml/debian/ultrapossum-uml.postinst 2004/06/29 12:15:26 1.1 +++ demo/uml/debian/ultrapossum-uml.postinst 2004/06/30 01:25:58 1.2 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # postinst script for ultrapossum-uml # # see: dh_installdeb(1) @@ -25,7 +25,14 @@ case "$1" in configure) + eval `ultrapossum-config init` + trap "eval `ultrapossum-config term`" 0 /usr/share/ultrapossum/update.d/update-uml configure + for h in $UML_HOSTS + do + $MODULEDIR/uml/createrootfs.sh $h + done + ;; abort-upgrade|abort-remove|abort-deconfigure)