File: inetutils-ping.postinst

package info (click to toggle)
inetutils 2%3A2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 17,312 kB
  • sloc: ansic: 125,847; sh: 12,435; yacc: 1,651; makefile: 697; perl: 72
file content (12 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

if [ "$1" = 'configure' ]; then
  for file in ping ping6; do
    if [ -e $DPKG_ROOT/usr/bin/$file ] && [ ! -e $DPKG_ROOT/bin/$file ]; then
      ln -s /usr/bin/$file $DPKG_ROOT/bin/$file
    fi
  done
fi

#DEBHELPER#