  | | | Upgrading a packag | Upgrading a packag 2007-05-18 - By rodrigofariatavares
Back Hello,
I made a package with version 1.0.
See the code in spec file:
%post chmod 755 /etc/init.d/my_script cd /etc/init.d chkconfig --del my_script chkconfig --add my_script
%preun cd /etc/init.d /etc/init.d/soap_atendente my_script chkconfig --del my_script
After package is installed, in rcs*:
[root@(protected) rc.d]# ls -las rc*.d | grep soap 4 lrwxrwxrwx 1 root root 24 May 18 05:19 K09my_script -> ../init.d/my_script 4 lrwxrwxrwx 1 root root 24 May 18 05:19 K09my_script -> ../init.d/my_script 4 lrwxrwxrwx 1 root root 24 May 18 05:19 K09my_script -> ../init.d/my_script 4 lrwxrwxrwx 1 root root 24 May 18 05:19 S92my_script -> ../init.d/my_script 4 lrwxrwxrwx 1 root root 24 May 18 05:19 S92my_script -> ../init.d/my_script 4 lrwxrwxrwx 1 root root 24 May 18 05:19 S92my_script -> ../init.d/my_script 4 lrwxrwxrwx 1 root root 24 May 18 05:19 K09my_script -> ../init.d/my_script
Today, i create a package with version 2.0
When I run the commando rpm -Uvh, all links for init.d, are removed. The spec is a same code below.
Why is happening ?
Best regards,
Rodrigo Faria
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |