summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-08-31 21:18:41 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-08-31 21:18:41 +0000
commitbec519bd6270a4c500c415620700c9c93196ee89 (patch)
tree703db1dc495afaafd02d9149cb890927b909aac1 /src/lib/Client
parente2817601f8b8e001ca8c562f9e877d9a8d8bc2ca (diff)
downloadbcfg2-bec519bd6270a4c500c415620700c9c93196ee89.tar.gz
bcfg2-bec519bd6270a4c500c415620700c9c93196ee89.tar.bz2
bcfg2-bec519bd6270a4c500c415620700c9c93196ee89.zip
Add new epkg flags
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2160 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Solaris.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Solaris.py b/src/lib/Client/Solaris.py
index 6f3aca358..ab60a0a04 100644
--- a/src/lib/Client/Solaris.py
+++ b/src/lib/Client/Solaris.py
@@ -29,7 +29,7 @@ class ToolsetImpl(Toolset):
and standard SMF services'''
pkgtool = {'sysv':("/usr/sbin/pkgadd %s -d %%s -n %%%%s", (("%s", ["name"]))),
'blast':("/opt/csw/bin/pkg-get install %s", ("%s", ["name"])),
- 'encap':("/local/sbin/epkg -l -q %s", ("%s", ["url"]))}
+ 'encap':("/local/sbin/epkg -l -f -q %s", ("%s", ["url"]))}
splitter = regcompile('.*/(?P<name>[\w-]+)\-(?P<version>[\w\.-]+)')
ptypes = {}
__name__ = 'Solaris'
@@ -169,7 +169,7 @@ class ToolsetImpl(Toolset):
if entry.get('type') in ['sysv', 'blast'] or entry.get('type')[:4] == 'sysv':
cmdrc = self.saferun("/usr/bin/pkginfo -q -v \"%s\" %s" % (entry.get('version'), entry.get('name')))[0]
elif entry.get('type') in ['encap']:
- cmdrc = self.saferun("/local/sbin/epkg -q -k %s-%s >/dev/null" %
+ cmdrc = self.saferun("/local/sbin/epkg -q -S -k %s-%s >/dev/null" %
(entry.get('name'), entry.get('version')))[0]
if cmdrc != 0:
self.logger.debug("Package %s version incorrect" % entry.get('name'))