From 76869963a8d6031afbb6f4eedc94fc98bfd217fa Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Thu, 19 Apr 2018 16:42:49 +0200
Subject: fix generic support for print version (tail)

In 5d4433a71928("add generic support for print version") the tails
were not adjusted correctly.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 tailpres.tex | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'tailpres.tex')

diff --git a/tailpres.tex b/tailpres.tex
index 83b56f1..fe97a29 100644
--- a/tailpres.tex
+++ b/tailpres.tex
@@ -1,7 +1,6 @@
-\newif\ifformatbeamer
-
-\ifformatbeamer
-\input{tailbeamer}
-\else
+\IfFileExists{.lxformat_print}
+{
 \input{tailprint}
-\fi
+}{
+\input{tailbeamer}
+}
-- 
cgit v1.2.3

