New release
Fixed minor issue when removing package
This commit is contained in:
parent
82c4480c47
commit
553f2a2081
3 changed files with 6 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = rc-local
|
pkgbase = rc-local
|
||||||
pkgdesc = Support for legacy rc.local scripts
|
pkgdesc = Support for legacy rc.local scripts
|
||||||
pkgver = 1.1
|
pkgver = 1.1
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://aur.archlinux.org/packages/rc-local
|
url = https://aur.archlinux.org/packages/rc-local
|
||||||
install = rc-local.install
|
install = rc-local.install
|
||||||
arch = any
|
arch = any
|
||||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
pkgname=rc-local
|
pkgname=rc-local
|
||||||
pkgver=1.1
|
pkgver=1.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Support for legacy rc.local scripts'
|
pkgdesc='Support for legacy rc.local scripts'
|
||||||
url=('https://aur.archlinux.org/packages/rc-local')
|
url=('https://aur.archlinux.org/packages/rc-local')
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
|
|
@ -11,6 +11,10 @@ post_upgrade() {
|
||||||
_update
|
_update
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_remove() {
|
||||||
|
systemctl disable rc-local.service
|
||||||
|
}
|
||||||
|
|
||||||
post_remove() {
|
post_remove() {
|
||||||
_update
|
_update
|
||||||
}
|
}
|
Loading…
Reference in a new issue