Skip to content

Commit

Permalink
tvheadend: Remove empty service_preupgrade causing error
Browse files Browse the repository at this point in the history
On DSM6 the empty service_preupgrade() was causing:
2021/06/19 06:24:46	upgrade tvheadend 4.3.20210612-27 Begin postuninst
/var/packages/tvheadend/scripts/service-setup: line 70: syntax error near unexpected token `}'
/var/packages/tvheadend/scripts/service-setup: line 70: `}
Removing it solved the issue
  • Loading branch information
th0ma7 committed Jun 20, 2021
1 parent 494d0e1 commit d9db96e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions spk/tvheadend/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ service_postinst ()
${WHEELHOUSE} ${WHEELHOUSE}/*.whl
}

service_preupgrade ()
{
}

service_postupgrade ()
{
# Need to enforce correct permissions for recording directories on upgrades
Expand Down

0 comments on commit d9db96e

Please sign in to comment.