FIX debian packaging (fpm)

This commit is contained in:
Jan-Piet Mens
2023-10-24 15:43:54 +02:00
parent 2c394a9482
commit 48aac397bb
3 changed files with 20 additions and 0 deletions
+11
View File
@@ -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:
+4
View File
@@ -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 \
+5
View File
@@ -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 \