Remove virtualpkg.d plist files, they are dynamically created by xbps-src.

This commit is contained in:
Juan RP
2011-10-26 16:53:50 +02:00
parent 15f01ebf76
commit 1be478b255
24 changed files with 10 additions and 220 deletions

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- This dictionary sets that we _always_ want
the "dcron" package to be the default cron-daemon
package, over other alternatives. -->
<key>virtual-pkgver</key>
<string>cron-daemon-0</string>
<key>target-pkgpattern</key>
<string>dcron>=0</string>
</dict>
</plist>

View File

@@ -1,7 +1,7 @@
# Template file for 'dcron'
pkgname=dcron
version=4.5
revision=7
revision=8
distfiles="http://www.jimpryor.net/linux/releases/dcron-${version}.tar.gz"
short_desc="Dillon's lightweight cron daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
@@ -42,12 +42,6 @@ do_install()
install -Dm644 extra/crond.logrotate ${DESTDIR}/etc/logrotate.d/crond
vinstall ${FILESDIR}/dcron.service 644 lib/systemd/system
vinstall ${FILESDIR}/dcron.virtualpkgd \
644 etc/xbps/virtualpkg.d dcron.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/dcron.plist .
# crontab must be setuid for all users to work!
chmod 4755 ${DESTDIR}/usr/bin/crontab
}