Merge pull request #171 from jb-alvarado/master
remove postrm -> breaks updates
This commit is contained in:
commit
6e008f66bb
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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
15
debian/postrm
vendored
@ -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
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user