diff options
author | penSec.IT UG (haftungsbeschränkt) <etherpad@pensec.it> | 2010-04-04 16:55:10 +0200 |
---|---|---|
committer | penSec.IT UG (haftungsbeschränkt) <etherpad@pensec.it> | 2010-04-04 16:55:10 +0200 |
commit | 88d7621d96efb657c8a1f347d7c260bcd4d83a88 (patch) | |
tree | c516c243ff13961faa3736b475d76faa185acae6 /build/apt/DEBIAN/postinst | |
parent | 59bd14e6deb341909d48cf2c6dc75483bdbd1c4d (diff) | |
download | etherpad-88d7621d96efb657c8a1f347d7c260bcd4d83a88.tar.gz etherpad-88d7621d96efb657c8a1f347d7c260bcd4d83a88.tar.xz etherpad-88d7621d96efb657c8a1f347d7c260bcd4d83a88.zip |
Complete translation to english language
Diffstat (limited to 'build/apt/DEBIAN/postinst')
-rwxr-xr-x | build/apt/DEBIAN/postinst | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/build/apt/DEBIAN/postinst b/build/apt/DEBIAN/postinst index 589f73d..6f595e0 100755 --- a/build/apt/DEBIAN/postinst +++ b/build/apt/DEBIAN/postinst @@ -38,20 +38,21 @@ db_version 2.0 ##### # -# Fragt einen Konfigurationswert ab und schreibt ihn in die Eigenschaftsdatei +# Propts the user for a configuration value and writes it into a property file # -# @param $1 Name des debconfig Templates -# @param $2 Name der Datei in welche der Konfigurationswert geschrieben werden -# soll -# @param $3 Wird aktuell nicht verwendet, Platzhalter in etherpad.properties -# welcher mit dem Wert dieser Varialbe ersetzt werden soll +# @param $1 Name of the debconfig template to prompt +# @param $2 File to write the answer to +# @param $3 deprecated # function configuration_property() { TEMPLATE="${1}" PROPERTY_FILE="/etc/etherpad/properties/${2}" PLACEHOLDER="${3}" - PROPERTY=`cat "${PROPERTY_FILE}"` + PROPERTY="" + if [ -f "${PROPERTY_FILE}" ]; then + PROPERTY=`cat "${PROPERTY_FILE}"` + fi db_input high "etherpad-%BRANCH%/${TEMPLATE}" || true db_go |