Merge pull request #171 from jb-alvarado/master

remove postrm -> breaks updates
This commit is contained in:
jb-alvarado 2022-07-28 15:22:38 +02:00 committed by GitHub
commit 6e008f66bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 19 deletions

2
Cargo.lock generated
View File

@ -1014,7 +1014,7 @@ dependencies = [
[[package]]
name = "ffplayout"
version = "0.13.1"
version = "0.13.2"
dependencies = [
"clap",
"crossbeam-channel 0.5.6",

15
debian/postrm vendored
View File

@ -1,15 +0,0 @@
#DEBHELPER#
sysUser="ffpu"
if [ -d "/usr/share/ffplayout" ]; then
yes | rm -rf "/usr/share/ffplayout" "/var/lib/ffplayout"
fi
if [ -d "/var/log/ffplayout" ]; then
yes | rm -rf "/var/log/ffplayout"
fi
if [ $(id -u $sysUser 2>/dev/null || echo -1) -ge 0 ]; then
userdel -rf $sysUser
fi

View File

@ -4,7 +4,7 @@ description = "24/7 playout based on rust and ffmpeg"
license = "GPL-3.0"
authors = ["Jonathan Baecker jonbae77@gmail.com"]
readme = "README.md"
version = "0.13.1"
version = "0.13.2"
edition = "2021"
[dependencies]
@ -106,8 +106,6 @@ assets = [
{ source = "../assets/ffplayout.conf", dest = "/usr/share/ffplayout/ffplayout.conf.example", mode = "644" },
{ source = "../public/**/*", dest = "/usr/share/ffplayout/public/", mode = "644" },
{ source = "../debian/postinst", dest = "/usr/share/ffplayout/postinst", mode = "755" },
{ source = "../debian/postrm", dest = "/usr/share/ffplayout/postrm", mode = "755" },
]
auto-req = "no"
post_install_script = "/usr/share/ffplayout/postinst"
post_uninstall_script = "/usr/share/ffplayout/postrm"