X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;h=09b547934b2dea84a9b66aa966d0f70bd1508be8;hb=4960aab8e492905785aea06e7e9983dad01b1bca;hp=c5156e60ff70a0954269729b1c2272a80f772569;hpb=d3408f34d10c3b52d90b46293ec576a0a273b349;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index c5156e6..09b5479 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -157,7 +157,7 @@ remove_x() { LC_MESSAGES=hr_HR dialog --backtitle "$title" --yesno "$msg_remove_x" 18 75 if [ $? -eq 0 ]; then log "Removing X Window System" - pkgrm xlibs + pkgrm x11-common else log "Skipping X Window System removal" fi @@ -603,6 +603,13 @@ upgrade () { pkgadd_if_installed $packages } +# install packages introduced in this release +install_new () { + if [ "$new_packages" ]; then + pkgadd $new_packages + fi +} + # funkcija utrpa ispravan sources.list create_sources_list () { local sl sl_new