diff --git a/.SRCINFO b/.SRCINFO index 4ab27dc..9fd2b07 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Aug 12 14:05:02 UTC 2016 +# Thu Aug 25 20:34:59 UTC 2016 pkgbase = rc-local pkgdesc = Support for legacy rc.local scripts - pkgver = 2 + pkgver = 3 pkgrel = 1 url = https://aur.archlinux.org/packages/rc-local/ install = rc-local.install diff --git a/PKGBUILD b/PKGBUILD index a926956..84378b6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: $pooky Hunter pkgname=rc-local -pkgver=2 +pkgver=3 pkgrel=1 pkgdesc='Support for legacy rc.local scripts' url="https://aur.archlinux.org/packages/${pkgname}/" diff --git a/rc-local.install b/rc-local.install index 2ed5dec..19b1b46 100644 --- a/rc-local.install +++ b/rc-local.install @@ -1,20 +1,8 @@ -_update() { - systemctl daemon-reload -} - post_install() { - _update - systemctl enable rc-local.service -} + cat < Please activate the rc-local service to execute /etc/rc.local on boot. +==> Run as root: systemctl enable rc-local.service -pre_remove() { - systemctl disable rc-local.service +EOF } - -post_remove() { - _update -} \ No newline at end of file