Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / lib / tasksel / info / | server ip : 172.67.156.115 your ip : 172.69.58.69 H O M E |
Filename | /usr/lib/tasksel/info/ubuntu-gnome-desktop.preinst |
Size | 439 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:52 |
Last modified | 04-Apr-2014 20:58 |
Last accessed | 05-Jul-2025 06:12 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
set -e
# We install the X server early on so that other packages (e.g. usplash) can
# get at the resolution it configures. It is listed as part of the task,
# which will take care of its removal when the task is removed.
for pkg in xserver-xorg; do
if apt-cache show "$pkg" >/dev/null 2>&1 &&
! dpkg --get-selections | egrep "^$pkg[[:space:]]+install"; then
apt-get "$@" -q -y -f install $pkg >/dev/null || true
fi
done
set -e
# We install the X server early on so that other packages (e.g. usplash) can
# get at the resolution it configures. It is listed as part of the task,
# which will take care of its removal when the task is removed.
for pkg in xserver-xorg; do
if apt-cache show "$pkg" >/dev/null 2>&1 &&
! dpkg --get-selections | egrep "^$pkg[[:space:]]+install"; then
apt-get "$@" -q -y -f install $pkg >/dev/null || true
fi
done