Don't alter the original VNC JAR - make a copy instead
[invirt/packages/invirt-vnc-client.git] / debian / invirt-update-vnc-cert
index 8e634c0..27997c0 100755 (executable)
@@ -10,6 +10,9 @@ import shutil
 def main():
     call(['kinit', '-k', 'daemon/%s' % config.web.hostname])
     
+    shutil.copy('/usr/share/invirt-vnc-client/VncViewer.src.jar',
+                '/usr/share/invirt-vnc-client/VncViewer.jar')
+    
     temp_dir = tempfile.mkdtemp()
     keystore = os.path.join(temp_dir, 'trust.store')
     for host in config.hosts: