From 553f2a2081068d0d5036ecffdca93a5d2e512d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 21 Sep 2015 15:15:48 +0200 Subject: [PATCH] New release Fixed minor issue when removing package --- .SRCINFO | 2 +- PKGBUILD | 2 +- rc-local.install | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 26ae8d0..12d4340 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = rc-local pkgdesc = Support for legacy rc.local scripts pkgver = 1.1 - pkgrel = 1 + pkgrel = 2 url = https://aur.archlinux.org/packages/rc-local install = rc-local.install arch = any diff --git a/PKGBUILD b/PKGBUILD index a5f2725..4c0c809 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=rc-local pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc='Support for legacy rc.local scripts' url=('https://aur.archlinux.org/packages/rc-local') arch=('any') diff --git a/rc-local.install b/rc-local.install index 9908ee1..2ed5dec 100644 --- a/rc-local.install +++ b/rc-local.install @@ -11,6 +11,10 @@ post_upgrade() { _update } +pre_remove() { + systemctl disable rc-local.service +} + post_remove() { _update } \ No newline at end of file