File: xfsdump.postinst

package info (click to toggle)
xfsdump 3.2.0-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,012 kB
  • sloc: ansic: 45,797; sh: 3,449; makefile: 512
file content (12 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -e

if [ "$1" = 'configure' ]; then
  for file in xfsdump xfsrestore; do
    if [ ! -e /usr/sbin/$file ]; then
      ln -s /sbin/$file /usr/sbin/$file
    fi
  done
fi

#DEBHELPER#