mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[fix] Allow to create a DockerFile by ignore hostname change failure
This commit is contained in:
parent
bc19749f01
commit
47f342a44b
1 changed files with 2 additions and 1 deletions
|
@ -132,7 +132,8 @@ set_domain() {
|
|||
# Configure hostname to yunohost.yunohost.org if not already set
|
||||
# NOTE: This is done also during postinstall "to avoid amavis bug"
|
||||
# so we might not need it here
|
||||
[[ "$(hostname -d 2>/dev/null)" != "" ]] || hostname yunohost.yunohost.org > /dev/null 2>&1
|
||||
[[ "$(hostname -d 2>/dev/null)" != "" ]] || hostname yunohost.yunohost.org \
|
||||
|| echo 'Hostname change is not permitted' > /dev/null 2>&1
|
||||
}
|
||||
|
||||
confirm_installation() {
|
||||
|
|
Loading…
Add table
Reference in a new issue