You are not logged in.

#1 2011-01-23 03:19:15

darkraven
Member
Registered: 2009-06-08
Posts: 29

Run same install scripts only once

I recently found the install script mechanism quite inefficient (and I'm sure many other people have noticed it as well).
for example,if I install the texlive-most group, after every package installed, mktexlsr would run once. But actually, the only one that is necessary is the last one.
So I think if pacman could run every same install script only once, this would speed pacman up a lot (especially when you haven't upgrade for two months!)

Last edited by darkraven (2011-01-23 03:25:03)

Offline

#2 2011-01-23 03:28:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Offline

#3 2011-01-23 03:31:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Run same install scripts only once

Pacman can help you with the dependencies but is oblivious to things like mktexlsr. Currently installing / uninstalling texlive is a PITA, but pacman deals with packages not "bundles". You can alter the PKGBUILDs if you like - abs is there for you.

Offline

#4 2011-01-23 03:43:32

darkraven
Member
Registered: 2009-06-08
Posts: 29

Re: Run same install scripts only once

It seems the project called pacman-g2 had already done this, right?
Hope this feature would quickly get into pacman ; )

Offline

#5 2011-01-23 03:52:56

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Run same install scripts only once

It will get into pacman when somebody submits patches.


Edit: it looks like that pacman-g2 hooks are limited to those that are always run before or after the upgrade.  So that would only allow you to run mktexlsr after every upgrade which is even less efficient...

Offline

Board footer

Powered by FluxBB