File: preinst

package info (click to toggle)
dnscvsutil 0.5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 80 kB
  • ctags: 35
  • sloc: perl: 557; makefile: 71; sh: 64
file content (17 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

if [ -d /var/state/dnscvsutil ]; then
    cat <<EOF

You have an old version of dnscvsutil installed. Sorry,
there's no automatic upgrade procedure. Release all
checked-out dnscvsutil CVS work dirs and manually move
/var/state/dnscvsutil to /var/lib/dnscvsutil, and be
careful about preserving file owners and modes. After
that, rerun the upgrade.

Press [ENTER] to continue..
EOF
    read foo
    exit 1
fi