From eee6e1c45b8cb343c36f948827a3e8d84d1701b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Tue, 22 Feb 2011 09:15:43 +0100 Subject: [PATCH] Fix fallout from hts-tvheadend => tvheadend rename --- debian/rules | 2 +- debian/tvheadend.config | 6 +++--- debian/tvheadend.postinst | 4 ++-- debian/tvheadend.templates | 6 +++--- debian/tvheadend.tvheadend.init | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/debian/rules b/debian/rules index 08bab07f..76591cd5 100755 --- a/debian/rules +++ b/debian/rules @@ -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 diff --git a/debian/tvheadend.config b/debian/tvheadend.config index cffd8a59..50da1916 100644 --- a/debian/tvheadend.config +++ b/debian/tvheadend.config @@ -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 diff --git a/debian/tvheadend.postinst b/debian/tvheadend.postinst index 22692d09..1d5e60cc 100644 --- a/debian/tvheadend.postinst +++ b/debian/tvheadend.postinst @@ -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 diff --git a/debian/tvheadend.templates b/debian/tvheadend.templates index 79ffea26..2e5a650c 100644 --- a/debian/tvheadend.templates +++ b/debian/tvheadend.templates @@ -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/ diff --git a/debian/tvheadend.tvheadend.init b/debian/tvheadend.tvheadend.init index a98f50d2..2e424b97 100644 --- a/debian/tvheadend.tvheadend.init +++ b/debian/tvheadend.tvheadend.init @@ -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