Hi all,
I need some advice from you. I'd like to learn how to properly handle
files, generated during lifetime of the package on the system.
I have a package (text/texinfo) which delivers a SMF service
(application/texinfo-update:default). This service is used to generate
so called "dir" files for on-line documentation. But if there're no
documentation files in the directory, there should be no "dir" file
for it as well (the service should delete it).
1) If the "dir" file is part of the package manifest, then the pkg verify
can fail with this error:
root@osol175b:~# pkg verify texinfo
PACKAGE STATUS
pkg://userland/text/texinfo ERROR
file: var/info/usr_sfw_share_info_dir
Missing: regular file does not exist
2) If the "dir" file is not a part of the package manifest, then it will
not be removed when the package is uninstalled (and I think it should be).
Thanks for any suggestions how to approach this.
Petr
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss