=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== dphys-config-20130301~current/Logfile-623-Axel Beckert mails all the details and 4 diffs he used to fix it dphys-config-20130301~current/Logfile:624: backtick preprocessing changed from SUBST="`"${TICK}"`" to SUBST="`${TICK}`" dphys-config-20130301~current/Logfile-625- after-wget WARNINGs downgraded to NOTEs, as only transient net failures ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-74-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:75:BASENAME="`basename $0`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-76-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-156- dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:157: TYPE="`echo "${LINE}" | cut -f 1 -d ":"`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-158- ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-165- # example: directory:/scratch:root:root:1777 dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:166: DIR="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:167: OWNER="`echo "${LINE}" | cut -f 3 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:168: GROUP="`echo "${LINE}" | cut -f 4 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:169: MODE="`echo "${LINE}" | cut -f 5 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-170- ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-189- # example: symlink:/pub:/net/debian/export/pub dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:190: LINK="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:191: TARGET="`echo "${LINE}" | cut -f 3 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-192- if [ "${LINK}" = "" ]; then dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:193: LINK="`basename "${TARGET}"`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-194- fi ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-211- # example: partition:/export/data1:/dev/sdb1:ext3 dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:212: MPOINT="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:213: DEV="`echo "${LINE}" | cut -f 3 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:214: FS="`echo "${LINE}" | cut -f 4 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-215- ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-255- # example: nfsmount:/var/mail:mail.phys:/var/mail:rw,soft,noac,rsize=8192,wsize=8192,retry=1 dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:256: MPOINT="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:257: SERVER="`echo "${LINE}" | cut -f 3 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:258: EXPORT="`echo "${LINE}" | cut -f 4 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys:259: NFSOPT="`echo "${LINE}" | cut -f 5 -d ':'`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-filesys-260- if [ "${NFSOPT}" = "" ]; then ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-quota-38- # so we must drop that one, so no simple test for directory dphys-config-20130301~current/site.example/local/sbin/dphys-config-quota:39: if [ "`awk '$2=="'"${MPOINT}"'" { print $2 }' /etc/fstab`" != "" ] ; then dphys-config-20130301~current/site.example/local/sbin/dphys-config-quota-40- ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-x-170-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/site.example/local/sbin/dphys-config-x:171:BASENAME="`basename $0`" dphys-config-20130301~current/site.example/local/sbin/dphys-config-x-172-# stuff that goes wrong, not expected by user ############################################## dphys-config-20130301~current/site.example/local/sbin/dphys-config-x-581- dphys-config-20130301~current/site.example/local/sbin/dphys-config-x:582:if [ "`echo "${CONF_DISPSIZE}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/site.example/local/sbin/dphys-config-x-583- cat >> "${SYS_X_CONFFILE}" << END-CONFIG-FILE ############################################## dphys-config-20130301~current/debian/patches/escaping-colons.diff-45- # place-on-target: put result here dphys-config-20130301~current/debian/patches/escaping-colons.diff:46:- CONFFILE_PLACE="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/debian/patches/escaping-colons.diff:47:+ CONFFILE_PLACE="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 2 -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/debian/patches/escaping-colons.diff-48- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/debian/patches/escaping-colons.diff:49: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/debian/patches/escaping-colons.diff-50- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/debian/patches/escaping-colons.diff-54- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/debian/patches/escaping-colons.diff:55:- CMDTRIG="`echo "${LINE}" | cut -f 3- -d ':'`" dphys-config-20130301~current/debian/patches/escaping-colons.diff:56:+ CMDTRIG="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 3- -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/debian/patches/escaping-colons.diff-57- ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-73-+ dphys-config-20130301~current/debian/patches/interactive.diff:74:+ ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/debian/patches/interactive.diff-75-+ ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-78-+ # run the facultative postinstall command trigger stuff dphys-config-20130301~current/debian/patches/interactive.diff:79:+ if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/debian/patches/interactive.diff-80-+ ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-93-+ dphys-config-20130301~current/debian/patches/interactive.diff:94:+ ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/debian/patches/interactive.diff-95-+ ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-108-+ # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/debian/patches/interactive.diff:109:+ if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/debian/patches/interactive.diff-110-+ ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-122-+ # run the facultative preremove command trigger stuff dphys-config-20130301~current/debian/patches/interactive.diff:123:+ if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/debian/patches/interactive.diff-124-+ ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-141-+ dphys-config-20130301~current/debian/patches/interactive.diff:142:+ ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/debian/patches/interactive.diff-143-+ ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-161-- dphys-config-20130301~current/debian/patches/interactive.diff:162:- ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/debian/patches/interactive.diff-163-- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-166-- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/debian/patches/interactive.diff:167:- if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/debian/patches/interactive.diff-168-- ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-182- dphys-config-20130301~current/debian/patches/interactive.diff:183:- ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/debian/patches/interactive.diff-184-- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-256-- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/debian/patches/interactive.diff:257:- if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/debian/patches/interactive.diff-258-- ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-271-- # run the facultative preremove command trigger stuff dphys-config-20130301~current/debian/patches/interactive.diff:272:- if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/debian/patches/interactive.diff-273-- ############################################## dphys-config-20130301~current/debian/patches/interactive.diff-318-- dphys-config-20130301~current/debian/patches/interactive.diff:319:- ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/debian/patches/interactive.diff-320-- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff-25- local FRONT dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff:26:- FRONT="`echo "${LINE}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff:27:+ FRONT="`echo "${REMAINDER}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff-28- local TICK dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff:29:- TICK="`echo "${LINE}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff:30:+ TICK="`echo "${REMAINDER}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff-31- local REST dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff:32:- REST="`echo "${LINE}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff:33:+ REST="`echo "${REMAINDER}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/debian/patches/preprocess-backtick-with-backticks-in-output.diff-34- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-113-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:114:BASENAME="`basename "$0"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-115-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-185-# so long next parameter is a set of options (= begins with an - character) dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:186:while [ "`echo "$1" | cut -c 1`" = - ] ; do dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-187- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-188- # extract options from parameter (cut off the "-") dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:189: OPTS="`echo "$1" | cut -c 2-`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-190- shift 1 ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-195- # first option to process dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:196: OPT="`echo "${OPTS}" | cut -c 1`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-197- # and rest of options for later dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:198: OPTS="`echo "${OPTS}" | cut -c 2-`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-199- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-321- # support for file:<something> URLs which wget does not know about dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:322: if [ "`echo "${URL}" | cut -c 1-5`" = "file:" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-323- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-324- local FILE dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:325: FILE="`echo "${URL}" | cut -c 6-`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-326- # URL ends in /, this is directory existance test, generate fake index.html dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:327: if [ "`echo "${FILE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-328- # we later only test for file existance of index.html, so non-HTML is OK ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-331- local FILEBASE dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:332: FILEBASE="`basename "${FILE}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-333- (cd "${DIR}"; cp -p "${FILE}" "${FILEBASE}") ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-435-if [ "`which mktemp 2> /dev/null`" != "" ]; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:436: SYS_WORKDIR="`mktemp -d "${SYS_WORKDIR}.XXXXXXXXXX"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-437-fi ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-468- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:469:${CMD_DEBUG_PRINT} "`ls -al "${SYS_WORKDIR}/index.html"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-470-${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-486- local DIR dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:487: DIR="`dirname "${WORK}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-488- mkdir -p "${DIR}" ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-499- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:500: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-501- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-507- local HEAD dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:508: HEAD="`head -n 1 "${WORK}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:509: if `echo "${HEAD}" | grep -q '^#@dphys-config-preprocess'` ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-510- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-519- local PREPROCS dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:520: PREPROCS="`echo "${HEAD} " | cut -f 2- -d ' ' | tr -c -d 'a-z '`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-521- ${CMD_DEBUG_PRINT} "HEAD=${HEAD} PREPROCS=${PREPROCS}" ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-543- local FRONT dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:544: FRONT="`echo "${LINE}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-545- local TICK dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:546: TICK="`echo "${LINE}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-547- local REST dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:548: REST="`echo "${LINE}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-549- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-552- local SUBST dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:553: SUBST="`${TICK}`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-554- RETVAL="$?" ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-585- local COND dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:586: COND="`echo "${LINE}" | cut -f 1 -d ';'`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:587: LINE="`echo "${LINE}" | cut -f 2- -d ';'`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-588- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-589- # purge command, which is not part of condition dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:590: COND="`echo "${COND}" | cut -f 2- -d ' '`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-591- # strip leading spaces after ; from line dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:592: while [ "`echo "${LINE}" | cut -c 1`" = " " ] ; do dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:593: LINE="`echo "${LINE}" | cut -c 2-`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-594- done ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-618- local SECTION dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:619: SECTION="`echo "${LINE}" | cut -f 2 -d ' '`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-620- broken_net_wget_or_die "${URL}.${SECTION}" "${DIR}" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-621- if [ -f "${WORK}.${SECTION}" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:622: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}.${SECTION}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-623- fi ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-649- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:650: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-651- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-710- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:711: ${CMD_DEBUG_PRINT} "`ls -al "${CONFLIST_PLACE}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-712- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-740- # if this is set to -, then remove an now unused config file dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:741: CONFFILE_NAME="`echo "${LINE}" | cut -f 1 -d ':'`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-742- # needs to be set, but may be unset if an : is right at begin of line dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:743: if [ "`echo "${CONFFILE_NAME}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-744- ${CMD_ERROR} "config line \"${LINE}\" has no file name before \":\"" >&2 ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-749- # place-on-target: put result here dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:750: CONFFILE_PLACE="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-751- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:752: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-753- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-763- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:764: CMDTRIG="`echo "${LINE}" | cut -f 3- -d ':'`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-765- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-776- # ensure that it is an absolute filename dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:777: if [ "`echo "${CONFFILE_PLACE}" | cut -c 1`" != / ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-778- ${CMD_WARNING} "correcting non-absolute \"${CONFFILE_PLACE}\", add /" >&2 ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-783- # test for only directory name (ends in /), add base file name to it dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:784: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = / ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-785- # user gave directory, add filename to it ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-801- # hide slashes in path, to not confuse sed s command dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:802: SED_CONFFILE_PLACE="`echo "${CONFFILE_PLACE}" | sed -e '/\//s@@\\\/@g'`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:803: CMDTRIG="`echo "${CMDTRIG}" | sed -e "/{}/s//${SED_CONFFILE_PLACE}/g"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-804- fi ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-820- # ensure first that target dir is there, case new config file in new dir dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:821: mkdir -p "`dirname "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-822- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-845- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:846: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-847- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-850- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:851: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-852- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-865- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:866: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-867- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-883- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:884: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-885- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-897- # run the facultative preremove command trigger stuff dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:898: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-899- ############################################## dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-916- dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config:917: ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/hobbit-support.diff/dphys-config-918- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-113-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/.pc/interactive.diff/dphys-config:114:BASENAME="`basename "$0"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-115-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-185-# so long next parameter is a set of options (= begins with an - character) dphys-config-20130301~current/.pc/interactive.diff/dphys-config:186:while [ "`echo "$1" | cut -c 1`" = - ] ; do dphys-config-20130301~current/.pc/interactive.diff/dphys-config-187- dphys-config-20130301~current/.pc/interactive.diff/dphys-config-188- # extract options from parameter (cut off the "-") dphys-config-20130301~current/.pc/interactive.diff/dphys-config:189: OPTS="`echo "$1" | cut -c 2-`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-190- shift 1 ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-195- # first option to process dphys-config-20130301~current/.pc/interactive.diff/dphys-config:196: OPT="`echo "${OPTS}" | cut -c 1`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-197- # and rest of options for later dphys-config-20130301~current/.pc/interactive.diff/dphys-config:198: OPTS="`echo "${OPTS}" | cut -c 2-`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-199- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-404- # support for file:<something> URLs which wget does not know about dphys-config-20130301~current/.pc/interactive.diff/dphys-config:405: if [ "`echo "${URL}" | cut -c 1-5`" = "file:" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-406- dphys-config-20130301~current/.pc/interactive.diff/dphys-config-407- local FILE dphys-config-20130301~current/.pc/interactive.diff/dphys-config:408: FILE="`echo "${URL}" | cut -c 6-`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-409- # URL ends in /, this is directory existance test, generate fake index.html dphys-config-20130301~current/.pc/interactive.diff/dphys-config:410: if [ "`echo "${FILE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-411- # we later only test for file existance of index.html, so non-HTML is OK ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-414- local FILEBASE dphys-config-20130301~current/.pc/interactive.diff/dphys-config:415: FILEBASE="`basename "${FILE}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-416- (cd "${DIR}"; cp -p "${FILE}" "${FILEBASE}") ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-518-if [ "`which mktemp 2> /dev/null`" != "" ]; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config:519: SYS_WORKDIR="`mktemp -d "${SYS_WORKDIR}.XXXXXXXXXX"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-520-fi ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-551- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:552:${CMD_DEBUG_PRINT} "`ls -al "${SYS_WORKDIR}/index.html"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-553-${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-569- local DIR dphys-config-20130301~current/.pc/interactive.diff/dphys-config:570: DIR="`dirname "${WORK}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-571- mkdir -p "${DIR}" ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-582- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:583: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-584- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-590- local HEAD dphys-config-20130301~current/.pc/interactive.diff/dphys-config:591: HEAD="`head -n 1 "${WORK}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config:592: if `echo "${HEAD}" | grep -q '^#@dphys-config-preprocess'` ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-593- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-602- local PREPROCS dphys-config-20130301~current/.pc/interactive.diff/dphys-config:603: PREPROCS="`echo "${HEAD} " | cut -f 2- -d ' ' | tr -c -d 'a-z '`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-604- ${CMD_DEBUG_PRINT} "HEAD=${HEAD} PREPROCS=${PREPROCS}" ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-626- local FRONT dphys-config-20130301~current/.pc/interactive.diff/dphys-config:627: FRONT="`echo "${LINE}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-628- local TICK dphys-config-20130301~current/.pc/interactive.diff/dphys-config:629: TICK="`echo "${LINE}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-630- local REST dphys-config-20130301~current/.pc/interactive.diff/dphys-config:631: REST="`echo "${LINE}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-632- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-635- local SUBST dphys-config-20130301~current/.pc/interactive.diff/dphys-config:636: SUBST="`${TICK}`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-637- RETVAL="$?" ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-668- local COND dphys-config-20130301~current/.pc/interactive.diff/dphys-config:669: COND="`echo "${LINE}" | cut -f 1 -d ';'`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config:670: LINE="`echo "${LINE}" | cut -f 2- -d ';'`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-671- dphys-config-20130301~current/.pc/interactive.diff/dphys-config-672- # purge command, which is not part of condition dphys-config-20130301~current/.pc/interactive.diff/dphys-config:673: COND="`echo "${COND}" | cut -f 2- -d ' '`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-674- # strip leading spaces after ; from line dphys-config-20130301~current/.pc/interactive.diff/dphys-config:675: while [ "`echo "${LINE}" | cut -c 1`" = " " ] ; do dphys-config-20130301~current/.pc/interactive.diff/dphys-config:676: LINE="`echo "${LINE}" | cut -c 2-`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-677- done ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-701- local SECTION dphys-config-20130301~current/.pc/interactive.diff/dphys-config:702: SECTION="`echo "${LINE}" | cut -f 2 -d ' '`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-703- broken_net_wget_or_die "${URL}.${SECTION}" "${DIR}" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-704- if [ -f "${WORK}.${SECTION}" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config:705: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}.${SECTION}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-706- fi ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-732- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:733: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-734- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-793- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:794: ${CMD_DEBUG_PRINT} "`ls -al "${CONFLIST_PLACE}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-795- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-827- # if this is set to -, then remove an now unused config file dphys-config-20130301~current/.pc/interactive.diff/dphys-config:828: CONFFILE_NAME="`echo "${LINE}" | cut -f 1 -d ':'`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-829- # needs to be set, but may be unset if an : is right at begin of line dphys-config-20130301~current/.pc/interactive.diff/dphys-config:830: if [ "`echo "${CONFFILE_NAME}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-831- ${CMD_ERROR} "config line \"${LINE}\" has no file name before \":\"" >&2 ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-836- # place-on-target: put result here dphys-config-20130301~current/.pc/interactive.diff/dphys-config:837: CONFFILE_PLACE="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-838- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/.pc/interactive.diff/dphys-config:839: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-840- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-850- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:851: CMDTRIG="`echo "${LINE}" | cut -f 3- -d ':'`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-852- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-863- # ensure that it is an absolute filename dphys-config-20130301~current/.pc/interactive.diff/dphys-config:864: if [ "`echo "${CONFFILE_PLACE}" | cut -c 1`" != / ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-865- ${CMD_WARNING} "correcting non-absolute \"${CONFFILE_PLACE}\", add /" >&2 ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-870- # test for only directory name (ends in /), add base file name to it dphys-config-20130301~current/.pc/interactive.diff/dphys-config:871: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = / ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-872- # user gave directory, add filename to it ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-888- # hide slashes in path, to not confuse sed s command dphys-config-20130301~current/.pc/interactive.diff/dphys-config:889: SED_CONFFILE_PLACE="`echo "${CONFFILE_PLACE}" | sed -e '/\//s@@\\\/@g'`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config:890: CMDTRIG="`echo "${CMDTRIG}" | sed -e "/{}/s//${SED_CONFFILE_PLACE}/g"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-891- fi ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-907- # ensure first that target dir is there, case new config file in new dir dphys-config-20130301~current/.pc/interactive.diff/dphys-config:908: mkdir -p "`dirname "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-909- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-932- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:933: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-934- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-937- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/.pc/interactive.diff/dphys-config:938: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-939- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-952- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:953: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-954- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-970- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/.pc/interactive.diff/dphys-config:971: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-972- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-984- # run the facultative preremove command trigger stuff dphys-config-20130301~current/.pc/interactive.diff/dphys-config:985: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/interactive.diff/dphys-config-986- ############################################## dphys-config-20130301~current/.pc/interactive.diff/dphys-config-1003- dphys-config-20130301~current/.pc/interactive.diff/dphys-config:1004: ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/interactive.diff/dphys-config-1005- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-113-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:114:BASENAME="`basename "$0"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-115-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-197-# so long next parameter is a set of options (= begins with an - character) dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:198:while [ "`echo "$1" | cut -c 1`" = - ] ; do dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-199- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-200- # extract options from parameter (cut off the "-") dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:201: OPTS="`echo "$1" | cut -c 2-`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-202- shift 1 ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-207- # first option to process dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:208: OPT="`echo "${OPTS}" | cut -c 1`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-209- # and rest of options for later dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:210: OPTS="`echo "${OPTS}" | cut -c 2-`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-211- ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-435- # support for file:<something> URLs which wget does not know about dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:436: if [ "`echo "${URL}" | cut -c 1-5`" = "file:" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-437- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-438- local FILE dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:439: FILE="`echo "${URL}" | cut -c 6-`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-440- # URL ends in /, this is directory existance test, generate fake index.html dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:441: if [ "`echo "${FILE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-442- # we later only test for file existance of index.html, so non-HTML is OK ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-445- local FILEBASE dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:446: FILEBASE="`basename "${FILE}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-447- (cd "${DIR}"; cp -p "${FILE}" "${FILEBASE}") ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-549-if [ "`which mktemp 2> /dev/null`" != "" ]; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:550: SYS_WORKDIR="`mktemp -d "${SYS_WORKDIR}.XXXXXXXXXX"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-551-fi ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-582- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:583:${CMD_DEBUG_PRINT} "`ls -al "${SYS_WORKDIR}/index.html"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-584-${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-600- local DIR dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:601: DIR="`dirname "${WORK}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-602- mkdir -p "${DIR}" ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-613- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:614: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-615- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-621- local HEAD dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:622: HEAD="`head -n 1 "${WORK}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:623: if `echo "${HEAD}" | grep -q '^#@dphys-config-preprocess'` ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-624- ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-633- local PREPROCS dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:634: PREPROCS="`echo "${HEAD} " | cut -f 2- -d ' ' | tr -c -d 'a-z '`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-635- ${CMD_DEBUG_PRINT} "HEAD=${HEAD} PREPROCS=${PREPROCS}" ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-657- local FRONT dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:658: FRONT="`echo "${LINE}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-659- local TICK dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:660: TICK="`echo "${LINE}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-661- local REST dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:662: REST="`echo "${LINE}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-663- ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-666- local SUBST dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:667: SUBST="`${TICK}`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-668- RETVAL="$?" ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-699- local COND dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:700: COND="`echo "${LINE}" | cut -f 1 -d ';'`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:701: LINE="`echo "${LINE}" | cut -f 2- -d ';'`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-702- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-703- # purge command, which is not part of condition dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:704: COND="`echo "${COND}" | cut -f 2- -d ' '`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-705- # strip leading spaces after ; from line dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:706: while [ "`echo "${LINE}" | cut -c 1`" = " " ] ; do dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:707: LINE="`echo "${LINE}" | cut -c 2-`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-708- done ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-732- local SECTION dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:733: SECTION="`echo "${LINE}" | cut -f 2 -d ' '`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-734- broken_net_wget_or_die "${URL}.${SECTION}" "${DIR}" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-735- if [ -f "${WORK}.${SECTION}" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:736: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}.${SECTION}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-737- fi ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-763- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:764: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-765- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-782- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:783: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-784- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-787- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:788: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-789- ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-802- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:803: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-804- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-817- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:818: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-819- ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-831- # run the facultative preremove command trigger stuff dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:832: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-833- ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-850- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:851: ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-852- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-908- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:909: ${CMD_DEBUG_PRINT} "`ls -al "${CONFLIST_PLACE}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-910- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-942- # if this is set to -, then remove an now unused config file dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:943: CONFFILE_NAME="`echo "${LINE}" | cut -f 1 -d ':'`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-944- # needs to be set, but may be unset if an : is right at begin of line dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:945: if [ "`echo "${CONFFILE_NAME}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-946- ${CMD_ERROR} "config line \"${LINE}\" has no file name before \":\"" >&2 ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-951- # place-on-target: put result here dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:952: CONFFILE_PLACE="`echo "${LINE}" | cut -f 2 -d ':'`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-953- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:954: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-955- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-965- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:966: CMDTRIG="`echo "${LINE}" | cut -f 3- -d ':'`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-967- ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-978- # ensure that it is an absolute filename dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:979: if [ "`echo "${CONFFILE_PLACE}" | cut -c 1`" != / ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-980- ${CMD_WARNING} "correcting non-absolute \"${CONFFILE_PLACE}\", add /" >&2 ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-985- # test for only directory name (ends in /), add base file name to it dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:986: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = / ] ; then dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-987- # user gave directory, add filename to it ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-1003- # hide slashes in path, to not confuse sed s command dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:1004: SED_CONFFILE_PLACE="`echo "${CONFFILE_PLACE}" | sed -e '/\//s@@\\\/@g'`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:1005: CMDTRIG="`echo "${CMDTRIG}" | sed -e "/{}/s//${SED_CONFFILE_PLACE}/g"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-1006- fi ############################################## dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-1022- # ensure first that target dir is there, case new config file in new dir dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config:1023: mkdir -p "`dirname "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/escaping-colons.diff/dphys-config-1024- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-116-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:117:BASENAME="`basename "$0"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-118-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-200-# so long next parameter is a set of options (= begins with an - character) dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:201:while [ "`echo "$1" | cut -c 1`" = - ] ; do dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-202- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-203- # extract options from parameter (cut off the "-") dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:204: OPTS="`echo "$1" | cut -c 2-`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-205- shift 1 ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-210- # first option to process dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:211: OPT="`echo "${OPTS}" | cut -c 1`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-212- # and rest of options for later dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:213: OPTS="`echo "${OPTS}" | cut -c 2-`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-214- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-438- # support for file:<something> URLs which wget does not know about dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:439: if [ "`echo "${URL}" | cut -c 1-5`" = "file:" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-440- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-441- local FILE dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:442: FILE="`echo "${URL}" | cut -c 6-`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-443- # URL ends in /, this is directory existance test, generate fake index.html dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:444: if [ "`echo "${FILE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-445- # we later only test for file existance of index.html, so non-HTML is OK ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-448- local FILEBASE dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:449: FILEBASE="`basename "${FILE}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-450- (cd "${DIR}"; cp -p "${FILE}" "${FILEBASE}") ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-552-if [ "`which mktemp 2> /dev/null`" != "" ]; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:553: SYS_WORKDIR="`mktemp -d "${SYS_WORKDIR}.XXXXXXXXXX"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-554-fi ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-585- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:586:${CMD_DEBUG_PRINT} "`ls -al "${SYS_WORKDIR}/index.html"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-587-${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-603- local DIR dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:604: DIR="`dirname "${WORK}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-605- mkdir -p "${DIR}" ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-616- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:617: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-618- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-624- local HEAD dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:625: HEAD="`head -n 1 "${WORK}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:626: if `echo "${HEAD}" | grep -q '^#@dphys-config-preprocess'` ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-627- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-636- local PREPROCS dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:637: PREPROCS="`echo "${HEAD} " | cut -f 2- -d ' ' | tr -c -d 'a-z '`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-638- ${CMD_DEBUG_PRINT} "HEAD=${HEAD} PREPROCS=${PREPROCS}" ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-660- local FRONT dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:661: FRONT="`echo "${LINE}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-662- local TICK dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:663: TICK="`echo "${LINE}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-664- local REST dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:665: REST="`echo "${LINE}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-666- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-669- local SUBST dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:670: SUBST="`${TICK}`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-671- RETVAL="$?" ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-702- local COND dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:703: COND="`echo "${LINE}" | cut -f 1 -d ';'`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:704: LINE="`echo "${LINE}" | cut -f 2- -d ';'`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-705- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-706- # purge command, which is not part of condition dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:707: COND="`echo "${COND}" | cut -f 2- -d ' '`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-708- # strip leading spaces after ; from line dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:709: while [ "`echo "${LINE}" | cut -c 1`" = " " ] ; do dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:710: LINE="`echo "${LINE}" | cut -c 2-`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-711- done ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-735- local SECTION dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:736: SECTION="`echo "${LINE}" | cut -f 2 -d ' '`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-737- broken_net_wget_or_die "${URL}.${SECTION}" "${DIR}" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-738- if [ -f "${WORK}.${SECTION}" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:739: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}.${SECTION}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-740- fi ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-766- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:767: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-768- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-785- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:786: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-787- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-790- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:791: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-792- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-805- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:806: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-807- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-820- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:821: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-822- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-834- # run the facultative preremove command trigger stuff dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:835: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-836- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-853- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:854: ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-855- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-911- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:912: ${CMD_DEBUG_PRINT} "`ls -al "${CONFLIST_PLACE}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-913- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-945- # if this is set to -, then remove an now unused config file dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:946: CONFFILE_NAME="`echo "${LINE}" | cut -f 1 -d ':'`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-947- # needs to be set, but may be unset if an : is right at begin of line dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:948: if [ "`echo "${CONFFILE_NAME}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-949- ${CMD_ERROR} "config line \"${LINE}\" has no file name before \":\"" >&2 ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-954- # place-on-target: put result here dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:955: CONFFILE_PLACE="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 2 -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-956- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:957: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-958- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-968- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:969: CMDTRIG="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 3- -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-970- ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-981- # ensure that it is an absolute filename dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:982: if [ "`echo "${CONFFILE_PLACE}" | cut -c 1`" != / ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-983- ${CMD_WARNING} "correcting non-absolute \"${CONFFILE_PLACE}\", add /" >&2 ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-988- # test for only directory name (ends in /), add base file name to it dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:989: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = / ] ; then dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-990- # user gave directory, add filename to it ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-1006- # hide slashes in path, to not confuse sed s command dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:1007: SED_CONFFILE_PLACE="`echo "${CONFFILE_PLACE}" | sed -e '/\//s@@\\\/@g'`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:1008: CMDTRIG="`echo "${CMDTRIG}" | sed -e "/{}/s//${SED_CONFFILE_PLACE}/g"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-1009- fi ############################################## dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-1025- # ensure first that target dir is there, case new config file in new dir dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config:1026: mkdir -p "`dirname "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/preprocess-backtick-with-backticks-in-output.diff/dphys-config-1027- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-116-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:117:BASENAME="`basename "$0"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-118-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-200-# so long next parameter is a set of options (= begins with an - character) dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:201:while [ "`echo "$1" | cut -c 1`" = - ] ; do dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-202- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-203- # extract options from parameter (cut off the "-") dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:204: OPTS="`echo "$1" | cut -c 2-`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-205- shift 1 ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-210- # first option to process dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:211: OPT="`echo "${OPTS}" | cut -c 1`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-212- # and rest of options for later dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:213: OPTS="`echo "${OPTS}" | cut -c 2-`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-214- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-438- # support for file:<something> URLs which wget does not know about dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:439: if [ "`echo "${URL}" | cut -c 1-5`" = "file:" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-440- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-441- local FILE dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:442: FILE="`echo "${URL}" | cut -c 6-`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-443- # URL ends in /, this is directory existance test, generate fake index.html dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:444: if [ "`echo "${FILE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-445- # we later only test for file existance of index.html, so non-HTML is OK ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-448- local FILEBASE dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:449: FILEBASE="`basename "${FILE}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-450- (cd "${DIR}"; cp -p "${FILE}" "${FILEBASE}") ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-552-if [ "`which mktemp 2> /dev/null`" != "" ]; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:553: SYS_WORKDIR="`mktemp -d "${SYS_WORKDIR}.XXXXXXXXXX"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-554-fi ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-585- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:586:${CMD_DEBUG_PRINT} "`ls -al "${SYS_WORKDIR}/index.html"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-587-${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-603- local DIR dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:604: DIR="`dirname "${WORK}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-605- mkdir -p "${DIR}" ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-616- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:617: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-618- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-624- local HEAD dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:625: HEAD="`head -n 1 "${WORK}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:626: if `echo "${HEAD}" | grep -q '^#@dphys-config-preprocess'` ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-627- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-636- local PREPROCS dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:637: PREPROCS="`echo "${HEAD} " | cut -f 2- -d ' ' | tr -c -d 'a-z '`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-638- ${CMD_DEBUG_PRINT} "HEAD=${HEAD} PREPROCS=${PREPROCS}" ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-664- local FRONT dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:665: FRONT="`echo "${REMAINDER}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-666- local TICK dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:667: TICK="`echo "${REMAINDER}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-668- local REST dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:669: REST="`echo "${REMAINDER}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-670- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-673- local SUBST dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:674: SUBST="`${TICK}`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-675- RETVAL="$?" ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-708- local COND dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:709: COND="`echo "${LINE}" | cut -f 1 -d ';'`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:710: LINE="`echo "${LINE}" | cut -f 2- -d ';'`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-711- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-712- # purge command, which is not part of condition dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:713: COND="`echo "${COND}" | cut -f 2- -d ' '`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-714- # strip leading spaces after ; from line dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:715: while [ "`echo "${LINE}" | cut -c 1`" = " " ] ; do dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:716: LINE="`echo "${LINE}" | cut -c 2-`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-717- done ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-741- local SECTION dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:742: SECTION="`echo "${LINE}" | cut -f 2 -d ' '`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-743- broken_net_wget_or_die "${URL}.${SECTION}" "${DIR}" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-744- if [ -f "${WORK}.${SECTION}" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:745: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}.${SECTION}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-746- fi ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-772- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:773: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-774- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-791- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:792: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-793- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-796- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:797: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-798- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-811- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:812: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-813- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-826- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:827: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-828- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-840- # run the facultative preremove command trigger stuff dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:841: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-842- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-859- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:860: ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-861- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-917- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:918: ${CMD_DEBUG_PRINT} "`ls -al "${CONFLIST_PLACE}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-919- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-951- # if this is set to -, then remove an now unused config file dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:952: CONFFILE_NAME="`echo "${LINE}" | cut -f 1 -d ':'`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-953- # needs to be set, but may be unset if an : is right at begin of line dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:954: if [ "`echo "${CONFFILE_NAME}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-955- ${CMD_ERROR} "config line \"${LINE}\" has no file name before \":\"" >&2 ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-960- # place-on-target: put result here dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:961: CONFFILE_PLACE="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 2 -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-962- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:963: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-964- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-974- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:975: CMDTRIG="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 3- -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-976- ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-987- # ensure that it is an absolute filename dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:988: if [ "`echo "${CONFFILE_PLACE}" | cut -c 1`" != / ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-989- ${CMD_WARNING} "correcting non-absolute \"${CONFFILE_PLACE}\", add /" >&2 ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-994- # test for only directory name (ends in /), add base file name to it dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:995: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = / ] ; then dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-996- # user gave directory, add filename to it ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-1012- # hide slashes in path, to not confuse sed s command dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:1013: SED_CONFFILE_PLACE="`echo "${CONFFILE_PLACE}" | sed -e '/\//s@@\\\/@g'`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:1014: CMDTRIG="`echo "${CMDTRIG}" | sed -e "/{}/s//${SED_CONFFILE_PLACE}/g"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-1015- fi ############################################## dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-1031- # ensure first that target dir is there, case new config file in new dir dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config:1032: mkdir -p "`dirname "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/support-wget-1.17-with-timestamping.diff/dphys-config-1033- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-116-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:117:BASENAME="`basename "$0"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-118-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-200-# so long next parameter is a set of options (= begins with an - character) dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:201:while [ "`echo "$1" | cut -c 1`" = - ] ; do dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-202- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-203- # extract options from parameter (cut off the "-") dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:204: OPTS="`echo "$1" | cut -c 2-`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-205- shift 1 ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-210- # first option to process dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:211: OPT="`echo "${OPTS}" | cut -c 1`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-212- # and rest of options for later dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:213: OPTS="`echo "${OPTS}" | cut -c 2-`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-214- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-438- # support for file:<something> URLs which wget does not know about dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:439: if [ "`echo "${URL}" | cut -c 1-5`" = "file:" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-440- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-441- local FILE dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:442: FILE="`echo "${URL}" | cut -c 6-`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-443- # URL ends in /, this is directory existance test, generate fake index.html dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:444: if [ "`echo "${FILE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-445- # we later only test for file existance of index.html, so non-HTML is OK ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-448- local FILEBASE dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:449: FILEBASE="`basename "${FILE}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-450- (cd "${DIR}"; cp -p "${FILE}" "${FILEBASE}") ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-552-if [ "`which mktemp 2> /dev/null`" != "" ]; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:553: SYS_WORKDIR="`mktemp -d "${SYS_WORKDIR}.XXXXXXXXXX"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-554-fi ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-585- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:586:${CMD_DEBUG_PRINT} "`ls -al "${SYS_WORKDIR}/index.html"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-587-${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-603- local DIR dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:604: DIR="`dirname "${WORK}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-605- mkdir -p "${DIR}" ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-616- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:617: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-618- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-624- local HEAD dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:625: HEAD="`head -n 1 "${WORK}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:626: if `echo "${HEAD}" | grep -q '^#@dphys-config-preprocess'` ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-627- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-636- local PREPROCS dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:637: PREPROCS="`echo "${HEAD} " | cut -f 2- -d ' ' | tr -c -d 'a-z '`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-638- ${CMD_DEBUG_PRINT} "HEAD=${HEAD} PREPROCS=${PREPROCS}" ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-664- local FRONT dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:665: FRONT="`echo "${REMAINDER}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-666- local TICK dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:667: TICK="`echo "${REMAINDER}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-668- local REST dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:669: REST="`echo "${REMAINDER}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-670- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-673- local SUBST dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:674: SUBST="`${TICK}`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-675- RETVAL="$?" ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-708- local COND dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:709: COND="`echo "${LINE}" | cut -f 1 -d ';'`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:710: LINE="`echo "${LINE}" | cut -f 2- -d ';'`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-711- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-712- # purge command, which is not part of condition dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:713: COND="`echo "${COND}" | cut -f 2- -d ' '`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-714- # strip leading spaces after ; from line dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:715: while [ "`echo "${LINE}" | cut -c 1`" = " " ] ; do dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:716: LINE="`echo "${LINE}" | cut -c 2-`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-717- done ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-741- local SECTION dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:742: SECTION="`echo "${LINE}" | cut -f 2 -d ' '`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-743- broken_net_wget_or_die "${URL}.${SECTION}" "${DIR}" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-744- if [ -f "${WORK}.${SECTION}" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:745: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}.${SECTION}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-746- fi ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-772- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:773: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-774- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-791- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:792: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-793- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-796- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:797: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-798- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-811- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:812: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-813- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-826- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:827: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-828- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-840- # run the facultative preremove command trigger stuff dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:841: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-842- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-859- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:860: ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-861- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-917- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:918: ${CMD_DEBUG_PRINT} "`ls -al "${CONFLIST_PLACE}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-919- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-951- # if this is set to -, then remove an now unused config file dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:952: CONFFILE_NAME="`echo "${LINE}" | cut -f 1 -d ':'`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-953- # needs to be set, but may be unset if an : is right at begin of line dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:954: if [ "`echo "${CONFFILE_NAME}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-955- ${CMD_ERROR} "config line \"${LINE}\" has no file name before \":\"" >&2 ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-960- # place-on-target: put result here dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:961: CONFFILE_PLACE="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 2 -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-962- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:963: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-964- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-974- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:975: CMDTRIG="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 3- -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-976- ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-987- # ensure that it is an absolute filename dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:988: if [ "`echo "${CONFFILE_PLACE}" | cut -c 1`" != / ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-989- ${CMD_WARNING} "correcting non-absolute \"${CONFFILE_PLACE}\", add /" >&2 ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-994- # test for only directory name (ends in /), add base file name to it dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:995: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = / ] ; then dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-996- # user gave directory, add filename to it ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-1012- # hide slashes in path, to not confuse sed s command dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:1013: SED_CONFFILE_PLACE="`echo "${CONFFILE_PLACE}" | sed -e '/\//s@@\\\/@g'`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:1014: CMDTRIG="`echo "${CMDTRIG}" | sed -e "/{}/s//${SED_CONFFILE_PLACE}/g"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-1015- fi ############################################## dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-1031- # ensure first that target dir is there, case new config file in new dir dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config:1032: mkdir -p "`dirname "${CONFFILE_PLACE}"`" dphys-config-20130301~current/.pc/fix-include-preprocessing-in-case-of-empty-results.diff/dphys-config-1033- ############################################## dphys-config-20130301~current/dphys-config-116-# and also put out some permanent messages, in case running as cron/init.d job dphys-config-20130301~current/dphys-config:117:BASENAME="`basename "$0"`" dphys-config-20130301~current/dphys-config-118-# something within the system that user does not expect, give up ############################################## dphys-config-20130301~current/dphys-config-200-# so long next parameter is a set of options (= begins with an - character) dphys-config-20130301~current/dphys-config:201:while [ "`echo "$1" | cut -c 1`" = - ] ; do dphys-config-20130301~current/dphys-config-202- dphys-config-20130301~current/dphys-config-203- # extract options from parameter (cut off the "-") dphys-config-20130301~current/dphys-config:204: OPTS="`echo "$1" | cut -c 2-`" dphys-config-20130301~current/dphys-config-205- shift 1 ############################################## dphys-config-20130301~current/dphys-config-210- # first option to process dphys-config-20130301~current/dphys-config:211: OPT="`echo "${OPTS}" | cut -c 1`" dphys-config-20130301~current/dphys-config-212- # and rest of options for later dphys-config-20130301~current/dphys-config:213: OPTS="`echo "${OPTS}" | cut -c 2-`" dphys-config-20130301~current/dphys-config-214- ############################################## dphys-config-20130301~current/dphys-config-438- # support for file:<something> URLs which wget does not know about dphys-config-20130301~current/dphys-config:439: if [ "`echo "${URL}" | cut -c 1-5`" = "file:" ] ; then dphys-config-20130301~current/dphys-config-440- dphys-config-20130301~current/dphys-config-441- local FILE dphys-config-20130301~current/dphys-config:442: FILE="`echo "${URL}" | cut -c 6-`" dphys-config-20130301~current/dphys-config-443- # URL ends in /, this is directory existance test, generate fake index.html dphys-config-20130301~current/dphys-config:444: if [ "`echo "${FILE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/dphys-config-445- # we later only test for file existance of index.html, so non-HTML is OK ############################################## dphys-config-20130301~current/dphys-config-448- local FILEBASE dphys-config-20130301~current/dphys-config:449: FILEBASE="`basename "${FILE}"`" dphys-config-20130301~current/dphys-config-450- (cd "${DIR}"; cp -p "${FILE}" "${FILEBASE}") ############################################## dphys-config-20130301~current/dphys-config-552-if [ "`which mktemp 2> /dev/null`" != "" ]; then dphys-config-20130301~current/dphys-config:553: SYS_WORKDIR="`mktemp -d "${SYS_WORKDIR}.XXXXXXXXXX"`" dphys-config-20130301~current/dphys-config-554-fi ############################################## dphys-config-20130301~current/dphys-config-585- dphys-config-20130301~current/dphys-config:586:${CMD_DEBUG_PRINT} "`ls -al "${SYS_WORKDIR}/index.html"`" dphys-config-20130301~current/dphys-config-587-${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/dphys-config-603- local DIR dphys-config-20130301~current/dphys-config:604: DIR="`dirname "${WORK}"`" dphys-config-20130301~current/dphys-config-605- mkdir -p "${DIR}" ############################################## dphys-config-20130301~current/dphys-config-616- dphys-config-20130301~current/dphys-config:617: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/dphys-config-618- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/dphys-config-624- local HEAD dphys-config-20130301~current/dphys-config:625: HEAD="`head -n 1 "${WORK}"`" dphys-config-20130301~current/dphys-config:626: if `echo "${HEAD}" | grep -q '^#@dphys-config-preprocess'` ; then dphys-config-20130301~current/dphys-config-627- ############################################## dphys-config-20130301~current/dphys-config-636- local PREPROCS dphys-config-20130301~current/dphys-config:637: PREPROCS="`echo "${HEAD} " | cut -f 2- -d ' ' | tr -c -d 'a-z '`" dphys-config-20130301~current/dphys-config-638- ${CMD_DEBUG_PRINT} "HEAD=${HEAD} PREPROCS=${PREPROCS}" ############################################## dphys-config-20130301~current/dphys-config-665- local FRONT dphys-config-20130301~current/dphys-config:666: FRONT="`echo "${REMAINDER}" | cut -f 1 -d '\`' `" dphys-config-20130301~current/dphys-config-667- local TICK dphys-config-20130301~current/dphys-config:668: TICK="`echo "${REMAINDER}" | cut -f 2 -d '\`' `" dphys-config-20130301~current/dphys-config-669- local REST dphys-config-20130301~current/dphys-config:670: REST="`echo "${REMAINDER}" | cut -f 3- -d '\`' `" dphys-config-20130301~current/dphys-config-671- ############################################## dphys-config-20130301~current/dphys-config-674- local SUBST dphys-config-20130301~current/dphys-config:675: SUBST="`${TICK}`" dphys-config-20130301~current/dphys-config-676- RETVAL="$?" ############################################## dphys-config-20130301~current/dphys-config-709- local COND dphys-config-20130301~current/dphys-config:710: COND="`echo "${LINE}" | cut -f 1 -d ';'`" dphys-config-20130301~current/dphys-config:711: LINE="`echo "${LINE}" | cut -f 2- -d ';'`" dphys-config-20130301~current/dphys-config-712- dphys-config-20130301~current/dphys-config-713- # purge command, which is not part of condition dphys-config-20130301~current/dphys-config:714: COND="`echo "${COND}" | cut -f 2- -d ' '`" dphys-config-20130301~current/dphys-config-715- # strip leading spaces after ; from line dphys-config-20130301~current/dphys-config:716: while [ "`echo "${LINE}" | cut -c 1`" = " " ] ; do dphys-config-20130301~current/dphys-config:717: LINE="`echo "${LINE}" | cut -c 2-`" dphys-config-20130301~current/dphys-config-718- done ############################################## dphys-config-20130301~current/dphys-config-742- local SECTION dphys-config-20130301~current/dphys-config:743: SECTION="`echo "${LINE}" | cut -f 2 -d ' '`" dphys-config-20130301~current/dphys-config-744- broken_net_wget_or_die "${URL}.${SECTION}" "${DIR}" dphys-config-20130301~current/dphys-config-745- if [ -f "${WORK}.${SECTION}" ] ; then dphys-config-20130301~current/dphys-config:746: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}.${SECTION}"`" dphys-config-20130301~current/dphys-config-747- fi ############################################## dphys-config-20130301~current/dphys-config-773- dphys-config-20130301~current/dphys-config:774: ${CMD_DEBUG_PRINT} "`ls -al "${WORK}"`" dphys-config-20130301~current/dphys-config-775- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/dphys-config-792- dphys-config-20130301~current/dphys-config:793: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/dphys-config-794- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/dphys-config-797- # run the facultative postinstall command trigger stuff dphys-config-20130301~current/dphys-config:798: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/dphys-config-799- ############################################## dphys-config-20130301~current/dphys-config-812- dphys-config-20130301~current/dphys-config:813: ${CMD_DEBUG_PRINT} "`ls -al "${CONFFILE_PLACE}"`" dphys-config-20130301~current/dphys-config-814- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/dphys-config-827- # test for only directory name (ends in /), possibly dangerous leftover dphys-config-20130301~current/dphys-config:828: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = "/" ] ; then dphys-config-20130301~current/dphys-config-829- ############################################## dphys-config-20130301~current/dphys-config-841- # run the facultative preremove command trigger stuff dphys-config-20130301~current/dphys-config:842: if [ "`echo "${CMDTRIG}" | tr -d ' '`" != "" ] ; then dphys-config-20130301~current/dphys-config-843- ############################################## dphys-config-20130301~current/dphys-config-860- dphys-config-20130301~current/dphys-config:861: ${CMD_DEBUG_PRINT} "`ls -ald "${CONFFILE_PLACE}"`" dphys-config-20130301~current/dphys-config-862- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/dphys-config-918- dphys-config-20130301~current/dphys-config:919: ${CMD_DEBUG_PRINT} "`ls -al "${CONFLIST_PLACE}"`" dphys-config-20130301~current/dphys-config-920- ${CMD_DEBUG_WAIT} ############################################## dphys-config-20130301~current/dphys-config-952- # if this is set to -, then remove an now unused config file dphys-config-20130301~current/dphys-config:953: CONFFILE_NAME="`echo "${LINE}" | cut -f 1 -d ':'`" dphys-config-20130301~current/dphys-config-954- # needs to be set, but may be unset if an : is right at begin of line dphys-config-20130301~current/dphys-config:955: if [ "`echo "${CONFFILE_NAME}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/dphys-config-956- ${CMD_ERROR} "config line \"${LINE}\" has no file name before \":\"" >&2 ############################################## dphys-config-20130301~current/dphys-config-961- # place-on-target: put result here dphys-config-20130301~current/dphys-config:962: CONFFILE_PLACE="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 2 -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/dphys-config-963- # needs to be set, but may be unset if mothing between the first 2 : dphys-config-20130301~current/dphys-config:964: if [ "`echo "${CONFFILE_PLACE}" | tr -d ' '`" = "" ] ; then dphys-config-20130301~current/dphys-config-965- ${CMD_ERROR} "config line \"${LINE}\" has no config place" \ ############################################## dphys-config-20130301~current/dphys-config-975- # if more than 2 : on line include the rest of them into this with 3- dphys-config-20130301~current/dphys-config:976: CMDTRIG="`echo "${LINE}" | sed 's/\\\\:/\x00/g;s/[\\]n/\\x6e/g' | cut -f 3- -d ':' | sed -e 's/\x00/:/g'`" dphys-config-20130301~current/dphys-config-977- ############################################## dphys-config-20130301~current/dphys-config-988- # ensure that it is an absolute filename dphys-config-20130301~current/dphys-config:989: if [ "`echo "${CONFFILE_PLACE}" | cut -c 1`" != / ] ; then dphys-config-20130301~current/dphys-config-990- ${CMD_WARNING} "correcting non-absolute \"${CONFFILE_PLACE}\", add /" >&2 ############################################## dphys-config-20130301~current/dphys-config-995- # test for only directory name (ends in /), add base file name to it dphys-config-20130301~current/dphys-config:996: if [ "`echo "${CONFFILE_PLACE}" | rev | cut -c 1`" = / ] ; then dphys-config-20130301~current/dphys-config-997- # user gave directory, add filename to it ############################################## dphys-config-20130301~current/dphys-config-1013- # hide slashes in path, to not confuse sed s command dphys-config-20130301~current/dphys-config:1014: SED_CONFFILE_PLACE="`echo "${CONFFILE_PLACE}" | sed -e '/\//s@@\\\/@g'`" dphys-config-20130301~current/dphys-config:1015: CMDTRIG="`echo "${CMDTRIG}" | sed -e "/{}/s//${SED_CONFFILE_PLACE}/g"`" dphys-config-20130301~current/dphys-config-1016- fi ############################################## dphys-config-20130301~current/dphys-config-1032- # ensure first that target dir is there, case new config file in new dir dphys-config-20130301~current/dphys-config:1033: mkdir -p "`dirname "${CONFFILE_PLACE}"`" dphys-config-20130301~current/dphys-config-1034-