summarylogtreecommitdiffstats
path: root/aurto.install
diff options
context:
space:
mode:
authorAlex Butler2018-03-02 12:37:49 +0000
committerAlex Butler2018-03-02 12:38:37 +0000
commit07c00490250f0f43053a4bc3bd697dbcb2175e16 (patch)
tree78b7197a4bc3f1e54ee41f6683f4d8d12716bdb1 /aurto.install
parent500d8b11208c62f85a38b5b3f208dc4a1451bb21 (diff)
downloadaur-07c00490250f0f43053a4bc3bd697dbcb2175e16.tar.gz
0.6.0-1 remove legacy upgrade clean step
Diffstat (limited to 'aurto.install')
-rw-r--r--aurto.install10
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