svn path=/trunk/packages/invirt-vnc-client/; revision=1345
+invirt-vnc-client (0.0.3) unstable; urgency=low
+
+ * Fix some shell script errors thanks to the globs
+
+ -- Evan Broder <broder@mit.edu> Sun, 26 Oct 2008 17:44:45 -0400
+
invirt-vnc-client (0.0.2) unstable; urgency=low
* DEBHELPER FAIL - I wanted invirt-update-vnc-cert.sh installed as
fi
TMP_DIR="$(mktemp -d)"
-for i in $(ls /etc/invirt/vnc-cert.d/*.crt); do
- keytool -noprompt -alias "${i%.crt}" -file "/etc/invirt/vnc-cert.d/$i" \
- -keystore "$TMP_DIR/trust.store" -storepass "foobar"
+for i in /etc/invirt/vnc-cert.d/*.crt; do
+ keytool -import -noprompt -alias "$(basename "${i%.crt}")" -file \
+ "$i" -keystore "$TMP_DIR/trust.store" -storepass "foobar"
done
jar uf /usr/share/invirt-vnc-client/VncViewer.jar -C "$TMP_DIR" trust.store