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 / tests / | server ip : 104.21.89.46 your ip : 172.69.130.110 H O M E |
Filename | /usr/lib/tasksel/tests/preferred-desktop |
Size | 419 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:52 |
Last modified | 04-Apr-2014 20:58 |
Last accessed | 06-Jul-2025 01:46 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
# Choose which desktop environment should be installed to enhance the desktop
# task. tasksel/desktop can be preseeded to select which to install.
set -e
# Avoid starting debconf if not being used to test which enhancing task to
# install.
if [ ! "$TESTING_ENHANCER" ]; then
exit 1
fi
. /usr/share/debconf/confmodule
if db_get "tasksel/desktop" && echo "$RET" | grep -q "$2"; then
exit 0
else
exit 1
fi
# Choose which desktop environment should be installed to enhance the desktop
# task. tasksel/desktop can be preseeded to select which to install.
set -e
# Avoid starting debconf if not being used to test which enhancing task to
# install.
if [ ! "$TESTING_ENHANCER" ]; then
exit 1
fi
. /usr/share/debconf/confmodule
if db_get "tasksel/desktop" && echo "$RET" | grep -q "$2"; then
exit 0
else
exit 1
fi