This file is indexed.

preinst is in tt-rss 17.1+git20170410+dfsg-2ubuntu1.

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
#!/bin/sh
set -e

# clear cache (needed for upgrade)
# this will be done in prerm in the future, but
# for a transitional period is also done in preinst,
# since the old prerm file is used, which may not
# yet clear the cache during upgrade.
if [ "$1" = "upgrade" ] ; then
	find /var/cache/tt-rss -type f -delete
fi;



exit 0