Skip to content
/ pug Public
forked from Ventto/pug

Automatically Gist-synchronises Pacman & AUR installed package lists.

Notifications You must be signed in to change notification settings

cmonty14/pug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pug

License Tools (Gist) Vote for pug

"Pug is a ALPM-hook to automatically save installed Pacman & AUR package lists into Gist files."

Inspired by plist-gist and pacmanity.

Perks

  • Painless: Backup and easily restore package lists
  • Elegant: Same text coloration than pacman
  • Smart: Gist revision after each command if change

Gist revisions

Requirements

  • pacman - A library-based package manager with dependency support
  • gist - Potentially the best command line gister

Installation

The install process will ask your Github login to create Gist files and generate an OAuth2 access token.
pug uses that token to update your Gists as needed.

Package (AUR)

$ pacaur -S pug

Manually

$ git clone https://github.com/Ventto/pug.git
$ cd pug
$ sudo make install (default: INSTALLGIST=1, gists creation)
# Or Uninstall
$ sudo make uninstall

Restore

Quickly install the package lists from Gists.

  • Install Pacman package list:
$ wget -O pacman-list.pkg [URL]
$ pacman -S - < pacman-list.pkg
  • Install AUR packag list:
$ wget -O aur-list.pkg [URL]
$ xargs <aur-list.pkg pacaur -S --noedit

About

Automatically Gist-synchronises Pacman & AUR installed package lists.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 83.2%
  • Makefile 16.8%