mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-01-09 08:29:50 +00:00
Remove redundant test for $DISPLAY
This block is already wrapped in the `else` block of the same test for the `$DISPLAY` variable, so this test is redundant.
This commit is contained in:
parent
08ebeb8f65
commit
346a31ac5b
2
tomb
2
tomb
@ -390,7 +390,6 @@ EOF`
|
|||||||
if _is_found "pinentry-gtk-2"; then
|
if _is_found "pinentry-gtk-2"; then
|
||||||
|
|
||||||
gtkrc=""
|
gtkrc=""
|
||||||
[[ "$DISPLAY" = "" ]] || {
|
|
||||||
theme=/share/themes/tomb/gtk-2.0-key/gtkrc
|
theme=/share/themes/tomb/gtk-2.0-key/gtkrc
|
||||||
for i in /usr/local /usr; do
|
for i in /usr/local /usr; do
|
||||||
[[ -r $i/$theme ]] && {
|
[[ -r $i/$theme ]] && {
|
||||||
@ -398,7 +397,6 @@ EOF`
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
}
|
|
||||||
[[ "$gtkrc" = "" ]] || {
|
[[ "$gtkrc" = "" ]] || {
|
||||||
gtkrc_old="$GTK2_RC_FILES"
|
gtkrc_old="$GTK2_RC_FILES"
|
||||||
export GTK2_RC_FILES="$gtkrc"
|
export GTK2_RC_FILES="$gtkrc"
|
||||||
|
Loading…
Reference in New Issue
Block a user