Public bug reported:

I noticed the nginx-*.postinst files had the same logic that is
implemented by "service nginx upgrade". Please find a patch dropping the
duplicated code and reusing the one from the init script. This is the
same patch that was attached to https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=823435

** Affects: nginx (Ubuntu)
     Importance: Low
     Assignee: Thomas Ward (teward)
         Status: Triaged

** Affects: nginx (Ubuntu Yakkety)
     Importance: Low
     Assignee: Thomas Ward (teward)
         Status: Triaged

** Affects: nginx (Debian)
     Importance: Unknown
         Status: Unknown

** Patch added: "nginx-postinst-code-dedup.patch"
   
https://bugs.launchpad.net/bugs/1578344/+attachment/4655900/+files/nginx-postinst-code-dedup.patch

** Bug watch added: Debian Bug tracker #823435
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823435

** Also affects: nginx (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823435
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578344

Title:
  code duplication between nginx-*.postinst and init script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1578344/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to