add postrm, fix #326
This commit is contained in:
parent
2da9d1a85d
commit
97455d535c
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -955,7 +955,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ffplayout"
|
name = "ffplayout"
|
||||||
version = "0.18.1"
|
version = "0.18.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap",
|
"clap",
|
||||||
@ -975,7 +975,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ffplayout-api"
|
name = "ffplayout-api"
|
||||||
version = "0.18.1"
|
version = "0.18.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-files",
|
"actix-files",
|
||||||
"actix-multipart",
|
"actix-multipart",
|
||||||
@ -1008,7 +1008,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ffplayout-lib"
|
name = "ffplayout-lib"
|
||||||
version = "0.18.1"
|
version = "0.18.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossbeam-channel",
|
"crossbeam-channel",
|
||||||
@ -2891,7 +2891,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tests"
|
name = "tests"
|
||||||
version = "0.18.1"
|
version = "0.18.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossbeam-channel",
|
"crossbeam-channel",
|
||||||
|
@ -3,7 +3,7 @@ members = ["ffplayout-api", "ffplayout-engine", "lib", "tests"]
|
|||||||
default-members = ["ffplayout-api", "ffplayout-engine", "tests"]
|
default-members = ["ffplayout-api", "ffplayout-engine", "tests"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.18.1"
|
version = "0.18.2"
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
repository = "https://github.com/ffplayout/ffplayout"
|
repository = "https://github.com/ffplayout/ffplayout"
|
||||||
authors = ["Jonathan Baecker <jonbae77@gmail.com>"]
|
authors = ["Jonathan Baecker <jonbae77@gmail.com>"]
|
||||||
|
1
debian/postinst
vendored
1
debian/postinst
vendored
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
#DEBHELPER#
|
#DEBHELPER#
|
||||||
|
|
||||||
sysUser="ffpu"
|
sysUser="ffpu"
|
||||||
|
23
debian/postrm
vendored
Normal file
23
debian/postrm
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#DEBHELPER#
|
||||||
|
|
||||||
|
sysUser="ffpu"
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
abort-install|purge)
|
||||||
|
deluser $sysUser
|
||||||
|
rm -rf /usr/share/ffplayout /var/log/ffplayout /etc/ffplayout /var/lib/ffplayout /home/$sysUser
|
||||||
|
;;
|
||||||
|
|
||||||
|
remove)
|
||||||
|
rm -rf /var/log/ffplayout
|
||||||
|
;;
|
||||||
|
|
||||||
|
upgrade|failed-upgrade|abort-upgrade|disappear)
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "postrm called with unknown argument \`$1'" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
x
Reference in New Issue
Block a user