mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
76ff721098
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
14 lines
399 B
Bash
14 lines
399 B
Bash
#!/bin/bash
|
|
#
|
|
# gnome-shell wrapper script to include a non-standard gschemas directory.
|
|
#
|
|
|
|
SYS_DATADIR=/usr/share
|
|
ALT_DATADIR=$SYS_DATADIR/gnome-shell/gsettings-desktop-schemas
|
|
|
|
# Using XDG_DATA_DIRS, since gnome-shell searches these paths for schemas (in order):
|
|
if [ -e "$ALT_DATADIR" ]; then
|
|
export XDG_DATA_DIRS=$ALT_DATADIR:$SYS_DATADIR:$XDG_DATA_DIRS
|
|
fi
|
|
|
|
exec /usr/bin/gnome-shell-bin "$@"
|