View | Details | Raw Unified | Return to bug 27976
Collapse All | Expand All

(-)usr/lib/univention-system-setup/scripts/software/10software (-4 / +4 lines)
Lines 79-91 Link Here
79
79
80
    # update
80
    # update
81
    echo "apt-get $APT_PARAMS update"
81
    echo "apt-get $APT_PARAMS update"
82
    apt-get $APT_PARAMS update
82
    LC_ALL=C apt-get $APT_PARAMS update
83
    echo "pmstatus:_:100:" >&4
83
    echo "pmstatus:_:100:" >&4
84
84
85
    # remove packages
85
    # remove packages
86
    for p in $packages_remove; do
86
    for p in $packages_remove; do
87
        echo "apt-get $APT_PARAMS install $p- $base" 
87
        echo "apt-get $APT_PARAMS install $p- $base" 
88
        apt-get $APT_PARAMS install $p- $base
88
        LC_ALL=C apt-get $APT_PARAMS install $p- $base
89
        aptResult=$?
89
        aptResult=$?
90
        if [ $aptResult -gt 0 ]; then
90
        if [ $aptResult -gt 0 ]; then
91
            progress_error "$p: $(gettext "Failed to uninstall")"
91
            progress_error "$p: $(gettext "Failed to uninstall")"
Lines 94-106 Link Here
94
94
95
    # run autoremove
95
    # run autoremove
96
    if [ -n "$packages_remove" ]; then
96
    if [ -n "$packages_remove" ]; then
97
        apt-get $APT_PARAMS autoremove
97
        LC_ALL=C apt-get $APT_PARAMS autoremove
98
    fi
98
    fi
99
99
100
    # install packages
100
    # install packages
101
    for p in $packages_install; do
101
    for p in $packages_install; do
102
        echo "apt-get $APT_PARAMS install $p $base"
102
        echo "apt-get $APT_PARAMS install $p $base"
103
        apt-get $APT_PARAMS install $p $base
103
        LC_ALL=C apt-get $APT_PARAMS install $p $base
104
        aptResult=$?
104
        aptResult=$?
105
        if [ $aptResult -gt 0 ]; then
105
        if [ $aptResult -gt 0 ]; then
106
            progress_error "$p: $(gettext "Failed to install")"
106
            progress_error "$p: $(gettext "Failed to install")"

Return to bug 27976