Skip to content

Commit

Permalink
deb packaging: don't duplicate crowdsec.service if /lib is not linked…
Browse files Browse the repository at this point in the history
… to /usr/lib (#3415)

We don't need to explicitly copy the file, but the standard location is
/usr/lib, not /lib - hence we must avoid duplicating it by copying explicitly if /lib
is not linked to /usr/lib.

Also we don't need preinst anymore and the message is in postinst as well.
  • Loading branch information
mmetc authored Jan 20, 2025
1 parent d6b3841 commit e1a1b1e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion debian/install
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ config/profiles.yaml etc/crowdsec/
config/simulation.yaml etc/crowdsec/

config/patterns/* etc/crowdsec/patterns
config/crowdsec.service lib/systemd/system

# Referenced configs:
cmd/notification-slack/slack.yaml etc/crowdsec/notifications/
Expand Down
8 changes: 0 additions & 8 deletions debian/preinst

This file was deleted.

0 comments on commit e1a1b1e

Please sign in to comment.