install_postfixadmin.sh: Fix error copiing 'vacation.pl'.
This commit is contained in:
parent
eb910b9b58
commit
d734611fa6
@ -1550,7 +1550,7 @@ fi
|
||||
|
||||
echononl "\tCopy vacation script to '/var/spool/vacation/vacation.pl'"
|
||||
_vacation_script="$(find ${_src_base_dir}/postfixadmin-${PF_ADMIN_VERSION} -type f -name vacation.pl -print 2>/dev/null)"
|
||||
if [[ -z "$(trim "$_vacation_script")" ]] ; then
|
||||
if [[ -n "$(trim "$_vacation_script")" ]] ; then
|
||||
cp -a ${_vacation_script} /var/spool/vacation/ > "$log_file" 2>&1
|
||||
if [[ $? -eq 0 ]];then
|
||||
echo_ok
|
||||
|
Loading…
Reference in New Issue
Block a user