Skip to content

Commit 8c446b4

Browse files
committed
Fix RPM dependency and Linux install docs
- Use pcsc-lite-libs instead of libpcsclite1 for RPM packages - Fix package filenames in docs (NFC-Agent-* not nfc-agent-*) - Use apt/dnf install instead of dpkg/rpm for better dependency handling
1 parent df54d34 commit 8c446b4

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.goreleaser.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,15 @@ nfpms:
4848
formats:
4949
- deb
5050
- rpm
51-
dependencies:
52-
- libpcsclite1
5351
recommends:
5452
- pcscd
53+
overrides:
54+
deb:
55+
dependencies:
56+
- libpcsclite1
57+
rpm:
58+
dependencies:
59+
- pcsc-lite-libs
5560
contents:
5661
- src: ./build/linux/nfc-agent.service
5762
dst: /usr/lib/systemd/user/nfc-agent.service

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Download the installer (`.exe`) from [GitHub Releases](https://github.com/Simply
6464

6565
```bash
6666
# Download the .deb package from GitHub Releases, then:
67-
sudo dpkg -i nfc-agent_*.deb
67+
sudo apt install ./NFC-Agent-*.deb
6868

6969
# Install PC/SC daemon if not already installed
7070
sudo apt install pcscd
@@ -75,7 +75,7 @@ sudo systemctl enable --now pcscd
7575

7676
```bash
7777
# Download the .rpm package from GitHub Releases, then:
78-
sudo rpm -i nfc-agent-*.rpm
78+
sudo dnf install ./NFC-Agent-*.rpm
7979

8080
# Install PC/SC daemon
8181
sudo dnf install pcsc-lite

0 commit comments

Comments
 (0)