This file is indexed.

preinst is in abcde 2.7.1-1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh -e
# If:
# * this isn't an upgrade (a fresh install)
# * and /etc/cdgrab.conf exists
# * and /etc/abcde.conf doesn't
# copy /etc/cdgrab.conf to /etc/abcde.conf

if [ "$1" != "install" ]
then
	exit 0
fi
if [ "$2" != "" ]
then
	exit 0
fi
if [ -f /etc/abcde.conf ]
then
	exit 0
fi
if [ -r /etc/cdgrab.conf ]
then
	echo Copying old /etc/cdgrab.conf to /etc/abcde.conf...
	cp -a /etc/cdgrab.conf /etc/abcde.conf
	exit 0
fi