root/64studio/trunk/tasksel-data/x-window.preinst

Revision 1, 0.5 kB (checked in by free, 2 years ago)

Mass re-import

  • Property svn:executable set to *
Line 
1 #!/bin/sh
2 set -e
3
4 # None of these packages are strictly needed, but they make X
5 # autoconfiguration work better. Need to install them before X is
6 # preconfigured. Note that they are also listed as part of the task, which
7 # will take care of their removal when the task is removed.
8 for pkg in mdetect read-edid discover1 xresprobe laptop-detect; do
9         if apt-cache show "$pkg" >/dev/null 2>&1 &&
10            ! dpkg --get-selections | grep "$pkg" | grep -q install; then
11                 apt-get -q -y -f install $pkg >/dev/null || true
12         fi
13 done
Note: See TracBrowser for help on using the browser.