rpm uninstall

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

 



Hi,

When i uninstall rpm , it uninstalls rpm package and also deletes the directory (%prefix value) where rpm was installed. Is there any option i can configure, so that only rpm is uninstalled but directory created during install remains .

Spec file contains:

%files
%defattr(755, root, root)
%dir %{_prefix}
%{_prefix}/common.jar

I tried removing removing "%dir" from spec file.But, still the _prefix directory is deleted on uninstallation.Any inputs , how i can acheive this?

Thanks
Manga Padmaja.


_______________________________________________
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