~spuul/nginx/trunk

« back to all changes in this revision

Viewing changes to debian/nginx-naxsi-ui.preinst

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-02-15 03:05:42 UTC
  • mfrom: (4.3.10 sid)
  • Revision ID: package-import@ubuntu.com-20140215030542-71ubtowl24vf7nfn
Tags: 1.4.5-1ubuntu1
* Resynchronise with Debian (LP: #1280511).  Remaining changes:
  - debian/patches/ubuntu-branding.patch:
    + Add Ubuntu branding to server_tokens.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
case "$1" in
5
5
  upgrade)
6
 
    dpkg --compare-versions "$2" lt 1.4.1
7
 
    if [ $? -eq 0 ]; then
 
6
    if dpkg --compare-versions "$2" lt 1.4.1; then
8
7
      mv /etc/nginx/naxsi-ui.conf /etc/nginx/naxsi-ui.conf.before_upgrade_to_1.4.1
9
8
    fi
10
9
    ;;