MT#11387 Switch from Pre-Dependency on ngcp-system-tools* to Depends

Since we invoke the ngcp-sercmd command only in the postinst
script and not in preinst it's ought to be enough to depend
on the ngcp-system-tools-* package, quoting Debian Policy,
section 7.2:

| Pre-Depends are also required if the preinst script depends
| on the named package. It is best to avoid this situation if possible.

As piuparts doesn't support resolving Pre-Dependencies yet
this also solves our failing piuparts runs.

Change-Id: Ife43bfb7547c3331d541723782d8b374894e30b5
changes/82/982/4
Michael Prokop 10 years ago
parent 4c5b94b998
commit 0790c3c19c

2
debian/control vendored

@ -10,9 +10,9 @@ Homepage: git://git.mgm.sipwise.com/kamailio-conf-lua
Package: lua-ngcp-kamailio
Section: libs
Architecture: any
Pre-Depends: ngcp-system-tools
Depends: lua-redis,
lua-sql-mysql,
ngcp-system-tools-ce | ngcp-system-tools,
${misc:Depends},
${shlibs:Depends}
Provides: ${lua:Provides}

Loading…
Cancel
Save