15 lines
339 B
Bash
Executable file
15 lines
339 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
. /usr/share/debconf/confmodule
|
|
|
|
TEMPLATES="$(cd /usr/share/dokuwiki/templates-extra && ls -d */ | sed -e 's|/$|,|g')"
|
|
db_subst dokuwiki-templates/templates choices $(echo ${TEMPLATES} | sed -e 's|,$||')
|
|
|
|
db_fset dokuwiki-templates/templates seen false
|
|
|
|
db_input high dokuwiki-templates/templates || true
|
|
db_go
|
|
|
|
db_stop
|