Petr Gajdos 2014-06-11 09:30:50 +00:00 committed by Git OBS Bridge
parent 2052abef7f
commit bd2f068dcb

View File

@ -87,7 +87,6 @@ fi
#> filename (and not a symlink) and in that case, rename the file #> filename (and not a symlink) and in that case, rename the file
#> to /etc/hostname. This should ensure /etc/HOSTNAME is properly created #> to /etc/hostname. This should ensure /etc/HOSTNAME is properly created
#> by RPM. #> by RPM.
set -x
if [ "0$1" -ge "2" ]; then if [ "0$1" -ge "2" ]; then
if [ -f /etc/HOSTNAME -a ! -h /etc/HOSTNAME ]; then if [ -f /etc/HOSTNAME -a ! -h /etc/HOSTNAME ]; then
if [ -f /etc/hostname ]; then if [ -f /etc/hostname ]; then