blob: b9e5e9e3a92a8081f669788cb0dd6ce3fc4edd0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
--- usr/bin/steam.orig 2012-11-08 11:49:47.959025506 +0100
+++ usr/bin/steam 2012-11-08 11:49:59.588025546 +0100
@@ -1,26 +1,5 @@
#! /bin/bash
-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 ) "
-
- MESSAGE='Enter your password to complete the Steam installation.
-
-Steam needs to install these additional packages:
-'$NEEDSINSTALL
-
- if [ $NEEDSINSTALL ]; then
- # Call gksudo to actually do the work
- gksudo --disable-grab --message "$MESSAGE" apt-get install $NEEDSINSTALL
- fi
-}
-
-
# these variables can be overridden on commandline
LAUNCHSTEAMDIR=~/Steam
LAUNCHSTEAMPLATFORM=ubuntu12_32
@@ -54,9 +33,6 @@
cp /usr/share/applications/steam.desktop "${DESKTOP_DIR}"
chmod +x "${DESKTOP_DIR}/steam.desktop"
-
- # Try and install any extra packages
- install_extra_packages jockey-common python-apt
fi
# go to the install directory and run the client
LAUNCHSTEAMDIR=`readlink -e $STEAMROOTLINK`
|