Hi all,
I have a doubt on how to create an empty directory in `${prefix}/var/cache/`.
When I started, I found something like this:
file mkdir ${prefix}/var/cache/fetch-crl
But I doubt this is okay. I works when build from source, I guess the directory
would be missing in binary packages.
So I changed this to:
install -d ${destroot}/${prefix}/var/cache/fetch-crl
But because the directory is empty, it will be deleted and is not present in
the binary packages. So I could do something like:
install -d ${destroot}/${prefix}/var/cache/fetch-crl
touch ${destroot}/${prefix}/var/cache/fetch-crl/.keep
Or is there some clever way to avoid cancelling of empty directories.
Thanks!
~petr
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
