Skip to content

Commit

Permalink
Remove tvheadend user on purge
Browse files Browse the repository at this point in the history
This fixes tvheadend#1722 on my test system.
  • Loading branch information
dave-p authored and Flole998 committed Jun 27, 2024
1 parent 1644b6e commit d2e41b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debian/tvheadend.postrm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ case "$1" in
purge)
if getent passwd "$HTS_USER" >/dev/null; then
rm -rf "$(getent passwd "$HTS_USER" | cut -d':' -f6)"
deluser --system "$HTS_USER"
fi
db_purge
;;
Expand Down

0 comments on commit d2e41b5

Please sign in to comment.