Merge pull request #328 from jb-alvarado/master

add postrm, fix #326
This commit is contained in:
jb-alvarado 2023-06-13 12:40:41 +00:00 committed by GitHub
commit 552f830f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 36 additions and 5 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## [0.18.2](https://github.com/ffplayout/ffplayout/releases/tag/v0.18.2) (2023-06-13)
### ffplayout
- update version, create dir with ignore error [2da9d1a](https://github.com/ffplayout/ffplayout/pull/327/commits/2da9d1a85d7ca3695022a74d79cf362a10e19705)
- add postrm, fix #326 [97455d5](https://github.com/ffplayout/ffplayout/pull/328/commits/97455d535c6214b04eca14812029ced23c7524e1)
## [0.18.1](https://github.com/ffplayout/ffplayout/releases/tag/v0.18.1) (2023-06-11)
### frontend

8
Cargo.lock generated
View File

@ -955,7 +955,7 @@ dependencies = [
[[package]]
name = "ffplayout"
version = "0.18.1"
version = "0.18.2"
dependencies = [
"chrono",
"clap",
@ -975,7 +975,7 @@ dependencies = [
[[package]]
name = "ffplayout-api"
version = "0.18.1"
version = "0.18.2"
dependencies = [
"actix-files",
"actix-multipart",
@ -1008,7 +1008,7 @@ dependencies = [
[[package]]
name = "ffplayout-lib"
version = "0.18.1"
version = "0.18.2"
dependencies = [
"chrono",
"crossbeam-channel",
@ -2891,7 +2891,7 @@ dependencies = [
[[package]]
name = "tests"
version = "0.18.1"
version = "0.18.2"
dependencies = [
"chrono",
"crossbeam-channel",

View File

@ -3,7 +3,7 @@ members = ["ffplayout-api", "ffplayout-engine", "lib", "tests"]
default-members = ["ffplayout-api", "ffplayout-engine", "tests"]
[workspace.package]
version = "0.18.1"
version = "0.18.2"
license = "GPL-3.0"
repository = "https://github.com/ffplayout/ffplayout"
authors = ["Jonathan Baecker <jonbae77@gmail.com>"]

1
debian/postinst vendored
View File

@ -1,3 +1,4 @@
#!/bin/sh
#DEBHELPER#
sysUser="ffpu"

23
debian/postrm vendored Normal file
View 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