mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-23 11:26:16 +00:00
FIX debian packaging (fpm)
This commit is contained in:
@@ -109,6 +109,17 @@ sudo apt update
|
||||
sudo apt install ot-recorder
|
||||
```
|
||||
|
||||
Debian 12 "Bookworm":
|
||||
|
||||
```
|
||||
curl --no-progress-meter https://raw.githubusercontent.com/owntracks/recorder/master/etc/repo.owntracks.org.gpg.key | sudo tee /etc/apt/trusted.gpg.d/owntracks.asc
|
||||
|
||||
echo "deb http://repo.owntracks.org/debian bookworm main" | sudo tee /etc/apt/sources.list.d/owntracks.list > /dev/null
|
||||
sudo apt update
|
||||
sudo apt install ot-recorder
|
||||
```
|
||||
|
||||
|
||||
#### systemd service
|
||||
|
||||
The packages we provide have a systemd unit file in `/usr/share/doc/ot-recorder/ot-recorder.service` which you can use to have the Recorder started automatically:
|
||||
|
||||
@@ -37,6 +37,10 @@ case $(cat /etc/debian_version) in
|
||||
libcurl="libcurl4"
|
||||
liblua="liblua5.4-0"
|
||||
;;
|
||||
12.*)
|
||||
libsodium="libsodium23"
|
||||
libcurl="libcurl4"
|
||||
liblua="liblua5.4-0"
|
||||
esac
|
||||
|
||||
fpm -s dir \
|
||||
|
||||
@@ -37,6 +37,11 @@ case $(cat /etc/debian_version) in
|
||||
libcurl="libcurl4"
|
||||
liblua="liblua5.4-0"
|
||||
;;
|
||||
12.*)
|
||||
libsodium="libsodium23"
|
||||
libcurl="libcurl4"
|
||||
liblua="liblua5.4-0"
|
||||
;;
|
||||
esac
|
||||
|
||||
fpm -s dir \
|
||||
|
||||
Reference in New Issue
Block a user