summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorsborrill <sborrill>2011-11-22 09:15:58 +0000
committersborrill <sborrill>2011-11-22 09:15:58 +0000
commit4eda918a8c0bb24ef9fc7bc067dfbf0701c46d2f (patch)
tree3a7376154509c7e3bbfe102766983eacb5b78e7a /sysutils
parent364d27e9e1058ceb6852dcba51d1ca8500239052 (diff)
downloadpkgsrc-4eda918a8c0bb24ef9fc7bc067dfbf0701c46d2f.tar.gz
Make @VARBASE@/cache if it doesn't exist.
Bump PKGREVISION
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xe-guest-utilities/Makefile3
-rwxr-xr-xsysutils/xe-guest-utilities/files/xenguest.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/xe-guest-utilities/Makefile b/sysutils/xe-guest-utilities/Makefile
index 2290f1d932c..5a2fdc9ab32 100644
--- a/sysutils/xe-guest-utilities/Makefile
+++ b/sysutils/xe-guest-utilities/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/10/07 03:58:04 dholland Exp $
+# $NetBSD: Makefile,v 1.3 2011/11/22 09:15:58 sborrill Exp $
#
# Values from XenServer 6.0 = 6, 0, 0, 50560
@@ -10,6 +10,7 @@ XENBUILD= 50560
VERSION= ${XENMAJOR}.${XENMINOR}.${XENTEENY}
DISTNAME= xe-guest-utilities_5.6.0-595
+PKGREVISION= 1
CATEGORIES= sysutils
PKGNAME= xe-guest-utilities-${VERSION}
MASTER_SITES= http://updates.vmd.citrix.com/XenServer/5.6.0/debian/pool/main/x/xe-guest-utilities/
diff --git a/sysutils/xe-guest-utilities/files/xenguest.sh b/sysutils/xe-guest-utilities/files/xenguest.sh
index a4dcb3a76d3..8f586ad0d2e 100755
--- a/sysutils/xe-guest-utilities/files/xenguest.sh
+++ b/sysutils/xe-guest-utilities/files/xenguest.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: xenguest.sh,v 1.1.1.1 2011/10/03 16:57:03 sborrill Exp $
+# $NetBSD: xenguest.sh,v 1.2 2011/11/22 09:15:58 sborrill Exp $
#
# PROVIDE: xenguest
# REQUIRE: DAEMON
@@ -42,6 +42,7 @@ xenguest_precmd()
os_minorver="${os_uname#*.}"
os_minorver="${os_minorver%%.*}"
+ mkdir -p =@VARBASE@/cache
cat << EOF > $XE_LINUX_DISTRIBUTION_CACHE
os_distro="$os_distro"
os_uname="$os_uname"