diff options
author | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-08-24 03:21:17 +0000 |
---|---|---|
committer | Daniel Joseph Barnhart Clark <dclark@pobox.com> | 2006-08-24 03:21:17 +0000 |
commit | 144f1344adf60815c8c57e93b5ed0acf98bbc40f (patch) | |
tree | f9035e2b49da8139e99cc858ea1d2939f8a9cdc0 /encap/src/encap-profiles/daemontools-0.76.ep | |
parent | 12b22256f2430dbdbb59a6119eb7732ba942fca1 (diff) | |
download | bcfg2-144f1344adf60815c8c57e93b5ed0acf98bbc40f.tar.gz bcfg2-144f1344adf60815c8c57e93b5ed0acf98bbc40f.tar.bz2 bcfg2-144f1344adf60815c8c57e93b5ed0acf98bbc40f.zip |
EncapPackages: A bunch of changes, including but not limited to:
* Cleaner directory structure
* Numerous Makefile improvements
* Makefile no longer tied to specific versions of encap packages
(except in the case of python-apt, which is distro-specific)
* Automatic dependancy generation from encap package files
* bcfg2-site pretty much done
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2103 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'encap/src/encap-profiles/daemontools-0.76.ep')
-rw-r--r-- | encap/src/encap-profiles/daemontools-0.76.ep | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/encap/src/encap-profiles/daemontools-0.76.ep b/encap/src/encap-profiles/daemontools-0.76.ep index c09b67a72..c6b93c2ab 100644 --- a/encap/src/encap-profiles/daemontools-0.76.ep +++ b/encap/src/encap-profiles/daemontools-0.76.ep @@ -7,8 +7,8 @@ pkgspec="daemontools-0.76" > -<prereq package="patch-2.5.9" /> <prereq package="m4-1.4.4" /> +<prereq package="patch-2.5.9" /> <environment variable="CC" @@ -277,11 +277,12 @@ mv package/run.inittab package/run.inittab.orig mv package/boot.inittab package/boot.inittab.orig mv package/run.rclocal package/run.inittab.orig mv package/boot.rclocal package/boot.inittab.orig -mkdir var 2>/dev/null || exit 1 -mkdir var/svc.d 2>/dev/null || exit 1 -mkdir var/svc.d/svscan 2>/dev/null || exit 1 -mkdir var/svc.d/svscan/log 2>/dev/null || exit 1 -mkdir var/encap 2>/dev/null || exit 1 +test -d var || mkdir var +test -d var/svc.d || mkdir var/svc.d +test -d var/svc.d/svscan || mkdir var/svc.d/svscan +test -d var/svc.d/svscan/log || mkdir var/svc.d/svscan/log +# Make "this encap is installed" sentinal file available in /usr/local/var/encap +test -d var/encap || mkdir var/encap touch var/encap/${ENCAP_PKGNAME} </prepackage> |