File: plan.preinst

package info (click to toggle)
plan 1.8.7-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,196 kB
  • ctags: 1,971
  • sloc: ansic: 24,392; perl: 1,361; sh: 1,030; makefile: 514; yacc: 120; sed: 17
file content (11 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

if [ -r /usr/lib/plan/holiday -a ! -L /usr/lib/plan/holiday ]
then
    mv /usr/lib/plan/holiday /etc/plan/
    echo >&2 Moved /usr/lib/plan/holiday to /etc/plan/holiday.
fi

#DEBHELPER#