Line 491: |
Line 491: |
| | | |
| === The .pm File === | | === The .pm File === |
| + | |
| + | == (Re)Building the RPM== |
| + | |
| + | ===smeserver-dhcpmanager.spec file=== |
| + | |
| + | In order for the lex file to be processed, and the header on the Controller file to be processed (navigation and routing), we need to call |
| + | signal-event smanager-refresh |
| + | during the installation process. This has to be in such a way that it only happens if the new server manager has been installed (i.e. the rpm smeserver-manager installed). |
| + | |
| + | My current way to do this is to put the following code in the "%post" section of the .spec file: |
| + | |
| + | if [ -f /usr/share/smanager/lib/SrvMngr.pm ] |
| + | then |
| + | /usr/sbin/e-smith/signal-event smanager-refresh |
| + | fi |
| + | true |
| + | |
| + | In the fullness of time it might be better to put this in the smeserver-dhcpmanager-update event. |
| | | |
| == The Final Panels == | | == The Final Panels == |
| [[Category:Developer]] | | [[Category:Developer]] |