summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep10
1 files changed, 7 insertions, 3 deletions
diff --git a/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep b/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep
index 4336827ae..59f30be2c 100644
--- a/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep
+++ b/encap/src/encap-profiles/bcfg2-python-apt-0.6.16.2ubuntu8.ep
@@ -1,12 +1,15 @@
<?xml version="1.0"?>
-<!-- $Id$ -->
+<!-- $Id:$ -->
<encap_profile
profile_ver="1.0"
pkgspec="bcfg2-python-apt-0.6.16.2ubuntu8"
>
+<prereq package="m4-1.4.4" />
+<prereq package="bcfg2-python-2.4.3" />
+
<environment
variable="CC"
value="gcc"
@@ -81,8 +84,9 @@ subdir="python-apt-0.6.16.2ubuntu8"
</source>
<prepackage type="set">
-mkdir var 2>/dev/null || exit 0
-mkdir var/encap 2>/dev/null || exit 0
+# Make "this encap is installed" sentinal file available in /usr/local/var/encap
+test -d var || mkdir var
+test -d var/encap || mkdir var/encap
touch var/encap/${ENCAP_PKGNAME}
</prepackage>