templates/standard-daemon: Devel package does not exist: move code for infopages installation/removal to the main package scriplets
This commit is contained in:
parent
18548f2e30
commit
3541fe9cd9
@ -39,6 +39,10 @@ Changes in version 1.8.1
|
|||||||
* templates/standard - Davide Madrisan:
|
* templates/standard - Davide Madrisan:
|
||||||
Devel package does not exist: fix calls of the rpm scriplets.
|
Devel package does not exist: fix calls of the rpm scriplets.
|
||||||
|
|
||||||
|
* templates/standard-daemon - Davide Madrisan:
|
||||||
|
Devel package does not exist: move code for infopages installation/removal
|
||||||
|
to the main package scriplets.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.8.0
|
Changes in version 1.8.0
|
||||||
|
@ -64,6 +64,10 @@ if [ $1 -eq 1 ]; then
|
|||||||
\ /sbin/chkconfig --add <daemon_name>
|
\ /sbin/chkconfig --add <daemon_name>
|
||||||
\ /sbin/service <daemon_name> start
|
\ /sbin/service <daemon_name> start
|
||||||
fi
|
fi
|
||||||
|
@if:infopages
|
||||||
|
## modify the infopage name as required
|
||||||
|
%install_info %{name}.info
|
||||||
|
@fi:infopages
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -71,6 +75,10 @@ if [ $1 -eq 0 ]; then
|
|||||||
\ /sbin/service <daemon_name> stop &>/dev/null || :
|
\ /sbin/service <daemon_name> stop &>/dev/null || :
|
||||||
\ /sbin/chkconfig --del <daemon_name>
|
\ /sbin/chkconfig --del <daemon_name>
|
||||||
fi
|
fi
|
||||||
|
@if:infopages
|
||||||
|
## modify the infopage name as required
|
||||||
|
%uninstall_info %{name}.info
|
||||||
|
@fi:infopages
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
@ -79,18 +87,6 @@ if [ $1 -ge 1 ]; then
|
|||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
@if:infopages
|
|
||||||
%post devel
|
|
||||||
## modify the infopage name as required
|
|
||||||
%install_info %{name}.info
|
|
||||||
exit 0
|
|
||||||
|
|
||||||
%preun devel
|
|
||||||
## modify the infopage name as required
|
|
||||||
%uninstall_info %{name}.info
|
|
||||||
exit 0
|
|
||||||
@fi:infopages
|
|
||||||
|
|
||||||
@if:i18n
|
@if:i18n
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@else:i18n
|
@else:i18n
|
||||||
|
Loading…
Reference in New Issue
Block a user