Hi, Am 30.04.2020 um 04:59 schrieb Gábor Csárdi via users <[email protected]>: > Hi all, > > I happen to have two files with '$' characters in their names, and > `mgar package` fails because apparently pkgmk does not handle this. > > Is there a workaround? Is it possible to rename the files, and then > rename them back after installation? They are not needed during > compilation.
You can rename these during postinstall, but I would recommended to not use files with such names. The same applies for files with spaces which also cannot be installed with pkgmk. A solution would rename the files upfront with some kind of escaping, then call pkgmk and either a postinstall script or a class action script that would rename the files back. However, I would recommend to change the software to use the files with the changes names (e.g. _ instead of space and some other charachter instead of $). Best regards — Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
