|
34 |
|
34 |
|
35 |
info_header "$0" "$(gettext "Upgrading the system")" |
35 |
info_header "$0" "$(gettext "Upgrading the system")" |
36 |
|
36 |
|
|
|
37 |
# Activate the online repository |
38 |
/usr/sbin/ucr set repository/online=yes |
39 |
|
37 |
is_profile_var_true "update/system/after/setup" |
40 |
is_profile_var_true "update/system/after/setup" |
38 |
|
41 |
|
39 |
if [ $? -ne 0 ]; then |
42 |
if [ $? -ne 0 ]; then |
|
44 |
|
47 |
|
45 |
eval "$(ucr shell)" |
48 |
eval "$(ucr shell)" |
46 |
|
49 |
|
47 |
# Activate the online repository |
|
|
48 |
/usr/sbin/ucr set repository/online=yes |
49 |
|
50 |
if [ "$server_role" = "domaincontroller_master" ]; then |
50 |
if [ "$server_role" = "domaincontroller_master" ]; then |
51 |
# Update to latest patchlevel |
51 |
# Update to latest patchlevel |
52 |
echo "Running upgrade on DC Master: univention-upgrade --noninteractive --updateto $version_version-99" |
52 |
echo "Running upgrade on DC Master: univention-upgrade --noninteractive --updateto $version_version-99" |