debianmacno-cupsweb
Last change
on this file since ee42199 was
30beeab,
checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago
|
Remove "gutenbach-" from directory names and rename "gutenbach" to "gutenbach-server"
|
-
Property mode set to
100755
|
File size:
788 bytes
|
Rev | Line | |
---|
[331360d] | 1 | #!/bin/sh -e |
---|
| 2 | |
---|
| 3 | # Source debconf library. |
---|
| 4 | . /usr/share/debconf/confmodule |
---|
| 5 | |
---|
[e4cb270] | 6 | printername="" |
---|
| 7 | zephyrclass="" |
---|
| 8 | hostname="" |
---|
| 9 | |
---|
| 10 | if [ -e /usr/lib/gutenbach/config/printername ]; then |
---|
| 11 | printername=$(cat /usr/lib/gutenbach/config/printername) |
---|
[30beeab] | 12 | db_set gutenbach-server/printername "$printername" |
---|
[e4cb270] | 13 | fi |
---|
| 14 | |
---|
| 15 | if [ -e /usr/lib/gutenbach/config/zephyrclass ]; then |
---|
| 16 | zephyrclass=$(cat /usr/lib/gutenbach/config/zephyrclass) |
---|
[30beeab] | 17 | db_set gutenbach-server/zephyrclass "$zephyrclass" |
---|
[e4cb270] | 18 | fi |
---|
| 19 | |
---|
| 20 | if [ -e /usr/lib/gutenbach/config/hostname ]; then |
---|
[8fdf1a8] | 21 | hostname=$(cat /usr/lib/gutenbach/config/hostname) |
---|
[30beeab] | 22 | db_set gutenbach-server/hostname "$hostname" |
---|
[e4cb270] | 23 | fi |
---|
[331360d] | 24 | |
---|
[30beeab] | 25 | db_input high gutenbach-server/printername || true |
---|
| 26 | db_input high gutenbach-server/zephyrclass || true |
---|
| 27 | db_input high gutenbach-server/hostname || true |
---|
[331360d] | 28 | db_go || true |
---|
| 29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.