Ignore:
Timestamp:
Oct 26, 2008, 5:44:58 PM (16 years ago)
Author:
broder
Message:

Fix some bugs in invirt-update-vnc-cert

Location:
trunk/packages/invirt-vnc-client/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-vnc-client/debian/changelog

    r1342 r1345  
     1invirt-vnc-client (0.0.3) unstable; urgency=low
     2
     3  * Fix some shell script errors thanks to the globs
     4
     5 -- Evan Broder <broder@mit.edu>  Sun, 26 Oct 2008 17:44:45 -0400
     6
    17invirt-vnc-client (0.0.2) unstable; urgency=low
    28
  • trunk/packages/invirt-vnc-client/debian/invirt-update-vnc-cert

    r1342 r1345  
    99
    1010TMP_DIR="$(mktemp -d)"
    11 for i in $(ls /etc/invirt/vnc-cert.d/*.crt); do
    12     keytool -noprompt -alias "${i%.crt}" -file "/etc/invirt/vnc-cert.d/$i" \
    13         -keystore "$TMP_DIR/trust.store" -storepass "foobar"
     11for i in /etc/invirt/vnc-cert.d/*.crt; do
     12    keytool -import -noprompt -alias "$(basename "${i%.crt}")" -file \
     13        "$i" -keystore "$TMP_DIR/trust.store" -storepass "foobar"
    1414done
    1515
Note: See TracChangeset for help on using the changeset viewer.