mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-12 07:46:28 +00:00
Merge pull request #191 from jturner314/rm-redundant-check
Remove redundant test for $DISPLAY
This commit is contained in:
commit
50fc8ccf6b
16
tomb
16
tomb
@ -390,15 +390,13 @@ EOF`
|
||||
if _is_found "pinentry-gtk-2"; then
|
||||
|
||||
gtkrc=""
|
||||
[[ "$DISPLAY" = "" ]] || {
|
||||
theme=/share/themes/tomb/gtk-2.0-key/gtkrc
|
||||
for i in /usr/local /usr; do
|
||||
[[ -r $i/$theme ]] && {
|
||||
gtkrc="$i/$theme"
|
||||
break
|
||||
}
|
||||
done
|
||||
}
|
||||
theme=/share/themes/tomb/gtk-2.0-key/gtkrc
|
||||
for i in /usr/local /usr; do
|
||||
[[ -r $i/$theme ]] && {
|
||||
gtkrc="$i/$theme"
|
||||
break
|
||||
}
|
||||
done
|
||||
[[ "$gtkrc" = "" ]] || {
|
||||
gtkrc_old="$GTK2_RC_FILES"
|
||||
export GTK2_RC_FILES="$gtkrc"
|
||||
|
Loading…
Reference in New Issue
Block a user