summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/m4-1.4.4.sh
diff options
context:
space:
mode:
authorDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-24 03:21:17 +0000
committerDaniel Joseph Barnhart Clark <dclark@pobox.com>2006-08-24 03:21:17 +0000
commit144f1344adf60815c8c57e93b5ed0acf98bbc40f (patch)
treef9035e2b49da8139e99cc858ea1d2939f8a9cdc0 /encap/src/encap-profiles/m4-1.4.4.sh
parent12b22256f2430dbdbb59a6119eb7732ba942fca1 (diff)
downloadbcfg2-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/m4-1.4.4.sh')
-rwxr-xr-xencap/src/encap-profiles/m4-1.4.4.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/encap/src/encap-profiles/m4-1.4.4.sh b/encap/src/encap-profiles/m4-1.4.4.sh
index b424007eb..835036722 100755
--- a/encap/src/encap-profiles/m4-1.4.4.sh
+++ b/encap/src/encap-profiles/m4-1.4.4.sh
@@ -40,8 +40,8 @@ cat > ${ENCAP_PKGNAME}.ep << EOF
</source>
<prepackage type="set">
-mkdir var 2>/dev/null || exit 0
-mkdir var/encap 2>/dev/null || exit 0
+test -d var || mkdir var
+test -d var/encap || mkdir var/encap
touch var/encap/${ENCAP_PKGNAME}
</prepackage>