Current time: 06-18-2024, 04:59 AM Hello There, Guest! (LoginRegister)


Post Reply 
1.0.7 postinst configure problem
Author Message
thewiizard Offline
Newbie
*

Posts: 5
Joined: Mar 2011
Reputation: 0
Post: #2
RE: 1.0.7 postinst configure problem
OK so more digging as I'd like to get to the bottom of this.

snippet from maintainer-helper.sh lines 79-83
Code:
# Reading needed entries from ispcp.conf
for a in $(grep -E '^(AMAVIS|APACHE_|BASE_SERVER_IP|CMD_|DEBUG|DATABASE_HOST|DEFAULT_ADMIN_ADDRESS|​ETC_|LOG_DIR|MTA_|ROOT_|PHP_FASTCGI|SPAMASSASSIN|Version)' \
${CONF_FILE} | $CMD_SED 's/\s*=\s*\(.*\)/="\1"/') ; do
     eval $a
done

eval $a seems to throw the error out below

Code:
./maintainer-helper.sh: line 71: Version: command not found

If I then comment out 'eval $a'

Code:
./maintainer-helper.sh: line 78: [: -eq: unary operator expected
sed: 1: "s/\s\+\|[a-z]//gi
": bad flag in substitute command: 'i'
(This post was last modified: 03-10-2011 10:44 PM by thewiizard.)
03-10-2011 10:30 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 1.0.7 postinst configure problem - thewiizard - 03-10-2011 10:30 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)