File: golang-google-cloud-compute-metadata-dev.preinst

package info (click to toggle)
golang-google-cloud 0.9.0-10
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports
  • size: 4,964 kB
  • sloc: sh: 98; makefile: 82; awk: 67
file content (14 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

# There used to be a compatibility symlink, now replaced by a directory.
if dpkg-maintscript-helper supports symlink_to_dir; then
    dpkg-maintscript-helper symlink_to_dir \
        /usr/share/gocode/src/cloud.google.com/go ../google.golang.org/cloud \
        0.5.0-1~ golang-google-cloud-compute-metadata-dev -- "$@"
fi

#DEBHELPER#

exit 0