PDA

View Full Version : options.conf -- ${OPTIONS_CONF}



ostendo
11-28-2007, 12:07 PM
Wouldn't it be better to change:


# Write options.conf
if [ ! -e options.conf ]; then
echo "Can not find ${OPTIONS_CONF}, writing defaults."

into:


# Write options.conf
if [ ! -e ${OPTIONS_CONF} ]; then
echo "Can not find ${OPTIONS_CONF}, writing defaults."

?

I tried to execute, from another directory, /usr/local/directadmin/custombuild/build update, but got the error that options.conf didn't exist. It does, but not in the "current" directory.

This should btw also be changed in:



# Check if options.conf exists
if [ ! -e options.conf ]; then
echo "Options file options.conf does not exist."
exit 1
fi

DirectAdmin Support
11-28-2007, 04:58 PM
Thanks, fixed.

John