Open sc0rp10 opened 7 years ago
Don't set a prefix.
@jhermann but how can I set installation path without prefix?
reflect the installation tree in your source repo. for convenience, you could symlink the major file(s) on top-level.
the better way is to have a package.sh
or Makefile
, which prepares the desired tree in a staging directory (cp -rpl …
), and then calls fpm on that.
BTW, anything in /etc
is automatically marked as conffile.
Lots of folks stumble on this feature over the years, and I'm thinking that this is because the way this flag works is pretty confusing.
@jordansissel is there any chance for work these flags together with --prefix? I think it will be nice addition to your great tool
I need to create simple deb package from my directory with single package file and one config file. I want to place file
foo.py
to/opt/foo/foo.py
and placefoo.conf
to/etc/supervisor/conf.d/foo.conf
it's simple and clear case.But when i ran command
I've got an error:
How can I avoid this issue?