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

Fix some bugs in invirt-update-vnc-cert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.