Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 472 Bytes
#!/bin/bash
# For the best usage, set USER equal to your GitHub username rather than giving that info
# at the command line each time.
set -o errexit
USER=$1
FILENAME=`mktemp -t pkglist.XXXXXX`
trap "rm $FILENAME* 2>/dev/null" EXIT
pacman -Qqe | grep -v "$(pacman -Qqm)" > ${FILENAME}
echo "===========================================" >> ${FILENAME}
pacman -Qqm >> ${FILENAME}
gist -u${USER} -p -n "pkglist" -d "Official pkgs (aur pkgs appended at end)" ${FILENAME}
You can’t perform that action at this time.