Fix fallout from hts-tvheadend => tvheadend rename

This commit is contained in:
Andreas Öman 2011-02-22 09:15:43 +01:00
parent a629798b62
commit eee6e1c45b
5 changed files with 10 additions and 10 deletions

2
debian/rules vendored
View file

@ -25,7 +25,7 @@ override_dh_auto_build:
$(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

View file

@ -12,17 +12,17 @@ while [ "$STATE" != 0 -a "$STATE" != 4 ]; do
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

View file

@ -27,11 +27,11 @@ configure)
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

View file

@ -1,4 +1,4 @@
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
@ -8,10 +8,10 @@ Description: Choose a username for Tvheadend administrator.
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/

View file

@ -1,6 +1,6 @@
#! /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