preinst is in phabricator 0~git20160124-1ubuntu1.
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 | #!/bin/bash
set -e
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" le "0~git20150115-1~"; then
[ ! -e /usr/share/phabricator/conf/local/local.json ] || mv /usr/share/phabricator/conf/local/local.json /var/lib/phabricator/local.json
fi
esac
exit 0
|