File: mock_pkgin

package info (click to toggle)
cfengine3 3.24.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,552 kB
  • sloc: ansic: 163,161; sh: 10,296; python: 2,950; makefile: 1,744; lex: 784; yacc: 633; perl: 211; pascal: 157; xml: 21; sed: 13
file content (26 lines) | stat: -rwxr-xr-x 616 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -e

case "$*" in
    "-p list")
    cat << EOF
bmake-20140314;Portable (autoconf) version of NetBSD 'make' utility
bootstrap-mk-files-20141122;*.mk files for the bootstrap bmake utility
bzip2-1.0.6nb1;Block-sorting file compressor
EOF
    ;;
    "-pl < ls")
        cat << EOF
curl-7.42.1nb2;<;Client that groks URLs
tmux-1.9a;<;BSD-licensed terminal multiplexer (GNU Screen alternative)
EOF
        ;;
    "-pP avail")
        echo "xz-5.2.1;XZ utilities"
        ;;
    "-y in nano-"*)
        printf "calculating dependencies... done.\nnothing to do.\n"
        exit 1
        ;;
    *)
        ;;
esac