debian
Last change
on this file since 2116615 was
2116615,
checked in by Kyle Brogle <broglek@…>, 14 years ago
|
Added debconf to gutenbach-remctl to allow users to specify preferred mixer
and channel on install.
Fixed debconf prompts for gutenbach-server that still mentioned the old
method of queuing music
Added gutenbach team as uploaders to avoid Lintian NMU errors.
|
-
Property mode set to
100755
|
File size:
528 bytes
|
Rev | Line | |
---|
[2116615] | 1 | #!/bin/sh -e |
---|
| 2 | |
---|
| 3 | # Source debconf library. |
---|
| 4 | . /usr/share/debconf/confmodule |
---|
| 5 | |
---|
| 6 | mixer="" |
---|
| 7 | channel="" |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | if [ -e /usr/lib/gutenbach/remctl/config/mixer ]; then |
---|
| 11 | mixer=$(cat /usr/lib/gutenbach/remctl/config/mixer) |
---|
| 12 | db_set gutenbach-remctl/mixer "$mixer" |
---|
| 13 | fi |
---|
| 14 | |
---|
| 15 | if [ -e /usr/lib/gutenbach/remctl/config/channel ]; then |
---|
| 16 | channel=$(cat /usr/lib/gutenbach/remctl/config/channel) |
---|
| 17 | db_set gutenbach-remctl/channel "$channel" |
---|
| 18 | fi |
---|
| 19 | |
---|
| 20 | db_input high gutenbach-remctl/mixer || true |
---|
| 21 | db_input high gutenbach-remctl/channel || true |
---|
| 22 | db_go || true |
---|
| 23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.