diff options
author | Alex Butler | 2018-03-02 12:37:49 +0000 |
---|---|---|
committer | Alex Butler | 2018-03-02 12:38:37 +0000 |
commit | 07c00490250f0f43053a4bc3bd697dbcb2175e16 (patch) | |
tree | 78b7197a4bc3f1e54ee41f6683f4d8d12716bdb1 | |
parent | 500d8b11208c62f85a38b5b3f208dc4a1451bb21 (diff) | |
download | aur-07c00490250f0f43053a4bc3bd697dbcb2175e16.tar.gz |
0.6.0-1 remove legacy upgrade clean step
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | aurto.install | 10 |
3 files changed, 5 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = aurto pkgdesc = A simple aur tool for managing a local 'aurto' repository - pkgver = 0.5.3 + pkgver = 0.6.0 pkgrel = 1 url = https://github.com/alexheretic/aurto install = aurto.install @@ -10,8 +10,8 @@ pkgbase = aurto depends = devtools depends = systemd depends = pacutils - source = https://github.com/alexheretic/aurto/archive/v0.5.3.tar.gz - sha256sums = aa34bea81bbb2e3060c9a4f6332d0f45f4fd453670e431d5ffd38d08535b8ee7 + source = https://github.com/alexheretic/aurto/archive/v0.6.0.tar.gz + sha256sums = d02220d049f52728d9f9143d00d29e66b8fee64fd41f633f989200bb1ee9830a pkgname = aurto @@ -1,6 +1,6 @@ # Maintainer: Alex Butler <alexheretic@gmail.com> pkgname=aurto -pkgver=0.5.3 +pkgver=0.6.0 pkgrel=1 pkgdesc="A simple aur tool for managing a local 'aurto' repository" arch=('any') @@ -14,7 +14,7 @@ optdepends=() makedepends=() install="aurto.install" source=("https://github.com/alexheretic/$pkgname/archive/v$pkgver.tar.gz") -sha256sums=('aa34bea81bbb2e3060c9a4f6332d0f45f4fd453670e431d5ffd38d08535b8ee7') +sha256sums=('d02220d049f52728d9f9143d00d29e66b8fee64fd41f633f989200bb1ee9830a') build() { cd "$pkgname-$pkgver" diff --git a/aurto.install b/aurto.install index c62f9115c254..1969ec98ca80 100644 --- a/aurto.install +++ b/aurto.install @@ -33,16 +33,6 @@ post_install() { echo "aurto: Passwordless usage available for \`wheel\` group" } -post_upgrade() { - if ! initialised; then - exit 0 - fi - - ## clean legacy additions to the sudoers file - ## removes everything between `## aurto rules` & `## /aurto rules` in the sudoers file - sed -i '/^## aurto rules$/,/^## \/aurto rules$/d' /etc/sudoers -} - pre_remove() { if ! initialised; then exit 0 |