Author: doogie
Date: Thu Oct 30 20:10:56 2008
New Revision: 709334
URL:
http://svn.apache.org/viewvc?rev=709334&view=revLog:
Don't do set -x/+x.
Modified:
ofbiz/trunk/debian/ofbiz.config
ofbiz/trunk/debian/ofbiz.postinst
Modified: ofbiz/trunk/debian/ofbiz.config
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz.config?rev=709334&r1=709333&r2=709334&view=diff==============================================================================
--- ofbiz/trunk/debian/ofbiz.config (original)
+++ ofbiz/trunk/debian/ofbiz.config Thu Oct 30 20:10:56 2008
@@ -16,7 +16,7 @@
#specific language governing permissions and limitations
#under the License.
-set -ex
+set -e
. /usr/share/debconf/confmodule
@@ -47,7 +47,6 @@
. /usr/share/dbconfig-common/dpkg/config
dbc_go ofbiz $@
fi
-set -x
if [ -r "/etc/ofbiz/debconf.cfg" ]; then
. "/etc/ofbiz/debconf.cfg"
fi
Modified: ofbiz/trunk/debian/ofbiz.postinst
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz.postinst?rev=709334&r1=709333&r2=709334&view=diff==============================================================================
--- ofbiz/trunk/debian/ofbiz.postinst (original)
+++ ofbiz/trunk/debian/ofbiz.postinst Thu Oct 30 20:10:56 2008
@@ -123,7 +123,6 @@
LC_ALL=C
length="$1"
chars=""
- set -x
while :; do
needed_length=$((${length} - ${#chars}))
chars="$chars$(dd if=/dev/urandom count="${needed_length}" bs=1 | sed -n -e 's/[^[:alnum:]]//g;p;q')"
@@ -132,7 +131,6 @@
fi
done
echo $chars
- set +x
)
}
get() {
@@ -166,7 +164,6 @@
ofbiz_admin_port=""
fi
ofbiz_reseed=""
-set -x
case "$1" in
(configure|reconfigure)
get ofbiz_readers ofbiz/readers ofbiz_import_readers ofbiz_reseed