Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to build and release #15

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .SRCINFO

This file was deleted.

31 changes: 0 additions & 31 deletions PKGBUILD

This file was deleted.

2 changes: 1 addition & 1 deletion src/pacmanity.hook → pacmanity.hook
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Target = *
Description = Running Pacmanity hook...
Depends = coreutils
When = PostTransaction
Exec = /usr/lib/pacmanity/pacmanity.sh
Exec = /usr/lib/pacmanity/pacmanity.sh
12 changes: 12 additions & 0 deletions pacmanity.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
# Pacmanity
# Keeps a list of installed packages in a Gist at your GitHub account.

[[ -n "$GIST_ID" ]] || source /etc/pacmanity
if (pacman -Qqen; echo; pacman -Qqem) | gist -u "$GIST_ID" -f $HOSTNAME.pacmanity; then
echo "Pacmanity: Gist successfully updated."
else
echo "Pacmanity: ERROR!"
echo "1. Try running 'sudo gist --login'"
echo "2. Ensure the gist exists, if specified"
fi
52 changes: 0 additions & 52 deletions src/pacmanity.sh

This file was deleted.