Jake Vickers wrote:
> Steve Slowik wrote:
>> Jake,
>>
>> I moved the user_prefs to the proper place.
>>
>> The script still ended early.
>>
>> The script ending prematurely did not have to do with the missing
>> user_prefs file.
>>
>> In the following snippet:
>>
>> if test -e /root/*-djbdnsfiles.tar.bz2
>> then
>> echo "Restoring DJBDNS files"
>> tar xjvf *-djbdnsfiles.tar.bz2
>> rm -rf /var/djbdns/service/dnscache/env
>> rm -rf /var/djbdns/service/dnscache/root
>> mv -f env /var/djbdns/service/dnscache/
>> mv -f root /var/djbdns/service/dnscache/
>> else
>> fi
>>
>> I removed the "else" and all works well.
> Hmm. I've had some oddities like this before between FC and Cent. What
> distro are you running?
If there's nothing to do for an else condition and you want to keep it for
clarity (or some other reason), you can use a colon, e.g.:
if test -e /some/file ; then
echo something
else
:
fi
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]