also while I'm touching this code, use run-parts --list rather than glob
svn path=/trunk/packages/invirt-xen-config/; revision=2087
+invirt-xen-config (0.0.23) unstable; urgency=low
+
+ * revert 0.0.22
+ * use run-parts --list to get a tighter set of sysvm config files
+
+ -- Greg Price <price@mit.edu> Tue, 03 Feb 2009 00:20:03 -0500
+
invirt-xen-config (0.0.22) unstable; urgency=low
* Correctly calculate both the list of sysvms to boot and the list of
NAME="$PACKAGE"
DESC="Invirt Xen host"
PARENTPACKAGE=xend
-SYSVM_TEMPLATES=(/etc/xen/sysvms/s_*.mako)
-SYSVM_FILES=("${SYSVM_TEMPLATES[@]/.mako/}")
+SYSVM_FILES=($(run-parts --list /etc/xen/sysvms))
SYSVMS=("${SYSVM_FILES[@]/#\/etc\/xen\/sysvms\/}")
-GEN_FILES=(/etc/xen/xend-config.sxp.invirt "${SYSVM_FILES[@]}")
+GEN_FILES=(/etc/xen/xend-config.sxp.invirt)
dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0