summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordszryan2020-10-21 02:21:46 +1100
committerdszryan2020-10-21 02:21:46 +1100
commit59d7d6dc94c57c89649b29cc34a60e7a322fc73a (patch)
tree9570fc12dc85416f2099a8a815e56c69d2fe7b04
parent53cbebc7dc0cba0f83be1dd4e4998a0ad7e23910 (diff)
downloadaur-pacmanity-git.tar.gz
Added option to skip git login
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb8dbeead6e..47e41a23d13 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pacmanity-git
pkgdesc = Keeps a list of installed packages in a Gist at your GitHub account
pkgver = r53.e181875
- pkgrel = 2
+ pkgrel = 3
epoch = 2
url = https://github.com/dszryan/pacmanity
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 10f041f96cd..85fb56e4202 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
+
# Maintainer: dszryan
pkgname=pacmanity-git
pkgver=r53.e181875
-pkgrel=2
+pkgrel=3
epoch=2
pkgdesc="Keeps a list of installed packages in a Gist at your GitHub account"
arch=('x86_64' 'i686')
@@ -24,7 +25,7 @@ build() {
echo "by Pacmanity in a private Gist at your GitHub account."
echo -e "\n- Step 1: Log in to Gist using your GitHub account:"
- [[ -f ~/.gist ]] || gist --login # dont save login details in package, due to securiry concerns
+ [[ -n "$SKIP_LOGIN" ]] || gist --login # dont save login details in package, due to securiry concerns
# if file is present, assume it is maanged externally (via a build system)
[[ -r /etc/pacmanity ]] && source /etc/pacmanity