You are not logged in.

#1 2011-10-11 15:17:20

Archytect
Member
From: Stuttgart, Germany
Registered: 2011-10-11
Posts: 27

[GIVEAWAY] pacman-wrapper shell functions

Hi all,

under http://pastebin.com/vikWUQiK you can find a set of pacman command wrappers that I have found out to be usefull to me.

I want to share and give other users the opportunity to benefit from it aswell as receiving some critics, ideas, comments and suggestions for improvement.

Brief description:

- upgrade only packages wanted by YOU with pacman-upgrade-explicit, else pacman-upgrade-all for system-wide upgrade (deps aswell)
- all atomic actions log the installed packages, before and after the action (good for debugging, sometimes pkg-names change, etc.)
- support for multithreaded and concurrent distfiles retrieval (requires aria2c to be installed, else wget is used by default)

These are things that I (almost always) want to do when using pacman and upgrading packages, so I decided to work with these wrapper functions whenever applicable instead with the (real/backend) pacman.

This is pretty much it for the beginning.

Enjoy & Bye,
Archytect.

UPDATE 1:
    date: Wed, Oct 12, 2011 11:42:33 AM CEST
    url: http://pastebin.com/A2tQaJgF

    changes/notes:

  • added *-preview functions for installs and upgrades

  • fixed pacman-fetch not being executed in xargs, because it is a function

Last edited by Archytect (2011-10-12 09:45:15)

Offline

Board footer

Powered by FluxBB