Merge pull request #191 from jturner314/rm-redundant-check

Remove redundant test for $DISPLAY
This commit is contained in:
Jaromil 2015-02-18 21:25:38 +01:00
commit 50fc8ccf6b

2
tomb
View File

@ -390,7 +390,6 @@ 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 ]] && {
@ -398,7 +397,6 @@ EOF`
break
}
done
}
[[ "$gtkrc" = "" ]] || {
gtkrc_old="$GTK2_RC_FILES"
export GTK2_RC_FILES="$gtkrc"