File: ruby.links

package info (click to toggle)
ruby-defaults 1:2.3.3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 128 kB
  • ctags: 6
  • sloc: sh: 70; ruby: 55; makefile: 20
file content (15 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ -z "$DEBIAN_DEFAULT_RUBY_VERSION" ]; then
  echo "\$DEBIAN_DEFAULT_RUBY_VERSION not defined!"
  exit 1
fi

version="${DEBIAN_DEFAULT_RUBY_VERSION}"

for program in $DEBIAN_RUBY_PROGRAMS; do
  echo "usr/bin/${program}${version}  usr/bin/${program}"
  echo "usr/share/man/man1/${program}${version}.1.gz  usr/share/man/man1/${program}.1.gz"
done