File: phabricator.preinst

package info (click to toggle)
phabricator 0~git20190207-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 71,728 kB
  • sloc: php: 552,244; sql: 16,997; ansic: 3,619; yacc: 2,503; sh: 754; xml: 519; lex: 488; cpp: 221; python: 186; makefile: 177; sed: 66
file content (14 lines) | stat: -rwxr-xr-x 285 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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

#DEBHELPER#

exit 0