$(MAKE)
override_dh_install:
- $(MAKE) prefix=$(CURDIR)/debian/hts-tvheadend/usr install
+ $(MAKE) prefix=$(CURDIR)/debian/tvheadend/usr install
override_dh_installinit:
dh_installinit --name tvheadend
case "$STATE" in
1)
# Ask for username
- db_input high hts-tvheadend/admin_username || true
+ db_input high tvheadend/admin_username || true
;;
2)
# Ask for password
- db_input high hts-tvheadend/admin_password || true
+ db_input high tvheadend/admin_password || true
;;
3)
# Display a final note
- db_input high hts-tvheadend/webinterface || true
+ db_input high tvheadend/webinterface || true
;;
esac
echo >>"${HTS_SUPERUSERCONF}" "{"
- if db_get hts-tvheadend/admin_username; then
+ if db_get tvheadend/admin_username; then
echo >>"${HTS_SUPERUSERCONF}" '"username": "'$RET'",'
fi
- if db_get hts-tvheadend/admin_password; then
+ if db_get tvheadend/admin_password; then
echo >>"${HTS_SUPERUSERCONF}" '"password": "'$RET'"'
fi
-Template: hts-tvheadend/admin_username
+Template: tvheadend/admin_username
Type: string
Description: Choose a username for Tvheadend administrator.
Tvheadend is accessed via a world reachable web interface (assuming your
If you want to change the superuser account you need to reconfigure the
Tvheadend package.
-Template: hts-tvheadend/admin_password
+Template: tvheadend/admin_password
Type: password
Description: Administrator password.
-Template: hts-tvheadend/webinterface
+Template: tvheadend/webinterface
Type: note
Description: After installation Tvheadend can be accessed via HTTP on port 9981. From this machine you can point your web-browser to http://localhost:9981/
#! /bin/sh
### BEGIN INIT INFO
-# Provides: hts-tvheadend
+# Provides: tvheadend
# Required-Start: $local_fs $remote_fs udev
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5