File: version

package info (click to toggle)
mcds 1.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 556 kB
  • sloc: ansic: 1,628; perl: 217; makefile: 65; sh: 57; sed: 16
file content (7 lines) | stat: -rwxr-xr-x 141 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh

set -e

deb=$(dpkg -s mcds | grep ^Version: | cut -f2 -d\ | cut -f1 -d-)
test -n "$deb"
mcds -V | head -n1 | grep "^mcds .*$deb$"