This file is indexed.

postinst is in taskwarrior 2.5.1+dfsg-6.

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

# Automatically added by dh_installdeb/10.10.9ubuntu1
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/task.sh 2.4.3\+dfsg-2 -- "$@"
dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/task 2.4.4\+dfsg-1 -- "$@"
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