Reportozpostinst

Status: Accepted

Colis script


begin
  true ;
  if [ [ '!'; '-f'; '/etc/oz/id_rsa-icicle-gen'; ']' ]
  then nooutput ssh-keygen [ '-t'; 'rsa'; '-b'; '2048'; '-N'; ''; '-f';
                           '/etc/oz/id_rsa-icicle-gen' ]
  fi ;
  if nooutput which [ 'pycompile' ] then pycompile [ '-p'; 'oz' ] fi ;
  exit success
end

Original Shell script

#!/bin/sh -

set -e

if [ ! -f /etc/oz/id_rsa-icicle-gen ]; then
   ssh-keygen -t rsa -b 2048 -N "" -f /etc/oz/id_rsa-icicle-gen >/dev/null 2>&1
fi


# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
	pycompile -p oz 
fi

# End automatically added section


exit 0