Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751265AbdGOMzT (ORCPT ); Sat, 15 Jul 2017 08:55:19 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:48473 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751208AbdGOMzS (ORCPT ); Sat, 15 Jul 2017 08:55:18 -0400 Date: Sat, 15 Jul 2017 09:55:09 -0300 From: Mauro Carvalho Chehab To: Markus Heiser Cc: Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install Message-ID: <20170715095509.27503544@vento.lan> In-Reply-To: <20170715094940.2bcd7eab@vento.lan> References: <7ab9f1045ad103f1da56cb6b19948ea107fdb272.1500050599.git.mchehab@s-opensource.com> <042D234A-6B3D-43D4-84BA-8332C0596AA4@darmarit.de> <20170714232140.0608da3c@vento.lan> <1719549A-CDF5-4448-8CD6-28B52802E00A@darmarit.de> <20170715094940.2bcd7eab@vento.lan> Organization: Samsung X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 652 Lines: 17 Em Sat, 15 Jul 2017 09:49:40 -0300 Mauro Carvalho Chehab escreveu: > I guess it could also use kpsewhich to check if the needed > texlive packages are installed. However, the problem with such > approach is that texlive-kpathsea-bin package should be installed > first, in order to provide such command. > > So, installing PDF and math dependencies would require two steps. Hmm... answering myself: if texlive-kpathsea-bin is not installed, that probably means that texlive is not installed. So, the script can just give the command to install all texlive packages that are needed for a given distribution. Thanks, Mauro