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 /aurto.install | |
parent | 500d8b11208c62f85a38b5b3f208dc4a1451bb21 (diff) | |
download | aur-07c00490250f0f43053a4bc3bd697dbcb2175e16.tar.gz |
0.6.0-1 remove legacy upgrade clean step
Diffstat (limited to 'aurto.install')
-rw-r--r-- | aurto.install | 10 |
1 files changed, 0 insertions, 10 deletions
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 |