This file is indexed.

/usr/share/upstart/sessions/custom-env.conf is in ubuntu-touch-customization-hooks 0.7+15.10.20150717-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
description "Set environment variables for /custom support"

start on starting dbus

task

script
    [ -d /custom ] || exit 0
    if [ -d /custom/xdg/data ]; then
        XDG_DATA_DIRS="$(initctl get-env --global XDG_DATA_DIRS 2>/dev/null || true)"
        initctl set-env --global XDG_DATA_DIRS="/custom/xdg/data:${XDG_DATA_DIRS:-/usr/share}"
    fi
    if [ -d /custom/xdg/data/dconf ]; then
        initctl set-env --global DCONF_PROFILE=custom
        initctl set-env --global DCONF_DIR=/custom/xdg/data/dconf
    fi
    if [ -d /custom/usr/share/themes ]; then
        initctl set-env --global UBUNTU_UI_TOOLKIT_THEMES_PATH=/custom/usr/share/themes
    fi
    if [ -d /custom/usr/share/dialer-app/MMI ]; then
        initctl set-env --global QML2_IMPORT_PATH=/usr/lib/arm-linux-gnueabihf/qt5/imports:/custom/usr/lib/arm-linux-gnueabihf/qt5/imports/
    fi 
end script

# vim:syntax=upstart