This file is indexed.

postinst is in taskwarrior 2.5.0+dfsg-1build1.

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

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/task.sh 2.4.3+dfsg-2 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/task 2.4.4+dfsg-1 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/fish/completions/task.fish 2.4.4+dfsg-1 -- "$@"
# End automatically added section


set -e

if ! [ -L /usr/share/task ]
then
	rmdir /usr/share/task
	ln -sf taskwarrior /usr/share/task
fi