nginx: fix nginx.old clean-up
authorDanomi Manchego <danomimanchego123@gmail.com>
Thu, 25 Jun 2015 03:32:49 +0000 (23:32 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 28 Jun 2015 21:00:57 +0000 (23:00 +0200)
commitf6d1d1518c192b4e33b736528a68d4d1f20b10e8
tree71f66945770591026cd69f58bc943d9675537a8c
parentb59567b38ece8de4c23fb04f55ab7c6d086b1fc5
nginx: fix nginx.old clean-up

The bin path for nginx is configured for /usr/sbin, so deleting
the nginx.old back-up from /usr/bin never works.  Fix path, and
also use "$(RM)" instead of "-$(RM)", as "rm -f" never fails.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nginx/nginx.mk