Last active
March 27, 2016 18:06
-
-
Save wilbowma/850995144d06e6f6f453 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PATCH] Fixed permissions on /var/spool/cron, per #30 | |
/var/spool/cron should be owned by this package, and should be group | |
writeable. | |
It's possible this package should also create a crontab group, and make | |
/var/spool/cron belong to and by writeable by that group, but this is | |
the minimal required change. | |
https://github.com/systemd-cron/systemd-cron-next/issues/30 | |
--- | |
PKGBUILD | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
diff --git a/PKGBUILD b/PKGBUILD | |
index ba5011c..a3687e5 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -2,7 +2,7 @@ | |
pkgname=systemd-cron-next | |
pkgver=1.0.0.rc6 | |
_gitver=1.0.0-rc6 | |
-pkgrel=1 | |
+pkgrel=2 | |
pkgdesc="systemd generator to generate timers/services from crontab and anacrontab files" | |
url="https://github.com/systemd-cron/systemd-cron-next" | |
arch=('i686' 'x86_64') | |
@@ -28,4 +28,5 @@ build() { | |
package() { | |
cd "${srcdir}/${pkgname}-${_gitver}" | |
DESTDIR="${pkgdir}" make install | |
+ install -d -m 775 $pkgdir/var/spool/cron | |
} | |
-- | |
2.7.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment