File: amanda-common.preinst

package info (click to toggle)
amanda 1%3A3.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 22,360 kB
  • sloc: ansic: 214,899; perl: 58,075; sh: 16,954; xml: 13,853; makefile: 2,228; awk: 431; lex: 405; yacc: 343; tcl: 118; sql: 19; sed: 16; php: 2
file content (12 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

# if a .amandahosts exists and is not a symlink, move it to /etc
if [ ! -L ~backup/.amandahosts ]
then
	if [ -f ~backup/.amandahosts ]
	then
		mv -f ~backup/.amandahosts /etc/amandahosts
	fi
fi

#DEBHELPER#