mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
- Reverted a fix for bug#897, as it broke the installation on some
other operating systems - some implementations of "hostname" simply set the host name to "-f" instead of giving an error about an unkown option
This commit is contained in:
@ -107,13 +107,8 @@ then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Try to determine the fully qualified domain name (FQDN)
|
# Try to determine the hostname
|
||||||
HOSTNAME="@HOSTNAME@"
|
hostname=`@HOSTNAME@`
|
||||||
if $HOSTNAME -f > /dev/null 2>&1 ; then
|
|
||||||
hostname=`$HOSTNAME -f`
|
|
||||||
else
|
|
||||||
hostname=`$HOSTNAME`
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if hostname is valid
|
# Check if hostname is valid
|
||||||
if test "$IN_RPM" -eq 0 -a $force -eq 0
|
if test "$IN_RPM" -eq 0 -a $force -eq 0
|
||||||
|
Reference in New Issue
Block a user