Re: install files but don't remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The downside is:
> a) I think its ugly,
> b) what happens when the RPM craps out between preun
> and postun, and
> c) it generates an ugly error msg on the screen,
> when it can't find myprog
> to uninstall.
May be a slightly better way to achive it is:

1) Instead of each of file, which should not be erased
on uninstall put in the RPM

original_file.suffix

2) In the POST INSTALL script for each file
  cp (or ln or ln -s ) -f original_file.suffix
original_file

Valery


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux