--- ./usr/bin/steam 2012-11-29 03:20:00.000000000 +0400 +++ ./usr/bin/steam20121201 2012-12-01 12:33:29.000000000 +0400 @@ -108,27 +108,6 @@ fi } -function install_extra_packages() -{ - EXTRA_PACKAGES="$*" - - # Get the list of packages which are already installed - INSTALLED="$(dpkg --get-selections $EXTRA_PACKAGES 2>/dev/null | grep "\binstall$" | cut -f1 | sort)" - - # compute the list of packages that need to be installed - NEEDSINSTALL="$(comm -23 <(echo "$EXTRA_PACKAGES" | tr ' ' '\n' | sort) <(echo "$INSTALLED") | xargs ) " - NEEDSINSTALL=${NEEDSINSTALL## } # remove leading space - - if [ "$NEEDSINSTALL" ]; then - # Call to actually do the work - MESSAGE=$"Please enter your password to complete the Steam installation. - -Steam needs to install these additional packages: -"$NEEDSINSTALL - run_sudo "$MESSAGE" apt-get install $NEEDSINSTALL - fi -} - function install_bootstrap() { STEAMDIR=$1 @@ -158,9 +137,6 @@ # Restore the umask umask $omask - - # Try and install any extra packages - install_extra_packages jockey-common python-apt } function repair_bootstrap()