[Pki-devel] [PATCH] 190 Reorganized TPS templates and scripts.

Endi Sukma Dewata edewata at redhat.com
Mon Dec 3 02:55:57 UTC 2012


On 11/29/2012 11:59 PM, Ade Lee wrote:
> Looks good - and is the right idea.  What makes you think that cfg.pl is
> not used?  There are functions that are defined there that are used in
> the esc cgi scripts.
>
> Please restore cfg.pl.

As discussed on IRC, there are 2 cfg.pl files, one in the TPS core page 
and the other in the TPS theme package. In the original code before the 
patch, the code in pkicreate:2064 copies the cfg.pl in theme to override 
the cfg.pl in core:

   return 0 if !copy_directory($ui_subsystem_path, $pki_instance_path,
       $default_dir_permissions, $default_file_permissions,
       $pki_user, $pki_group);

So the original cfg.pl in core package was never actually used.

In the updated #192 this code no longer exists since the TPS theme has 
being removed.

-- 
Endi S. Dewata




More information about the Pki-devel mailing list