File: amanda-common.preinst

package info (click to toggle)
amanda 1:3.5.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 30,724 kB
  • sloc: ansic: 265,630; perl: 114,269; xml: 16,058; sh: 8,667; makefile: 2,795; awk: 502; lex: 407; yacc: 347; javascript: 135; tcl: 118; sql: 19; sed: 16; php: 2
file content (13 lines) | stat: -rw-r--r-- 225 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -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#