This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via c519be42262c629abac86fb251a3f3921d42310d (commit) from ede4314397661889ce05f6a9d4dcdd5cc88ffb40 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit c519be42262c629abac86fb251a3f3921d42310d Author: Michael Tremer michael.tremer@ipfire.org Date: Mon Dec 10 00:36:04 2018 +0000
haproxy: Create/restore backup when package is installed/uninstalled
Fixes: #11946 Signed-off-by: Michael Tremer michael.tremer@ipfire.org
-----------------------------------------------------------------------
Summary of changes: lfs/haproxy | 2 +- src/paks/haproxy/install.sh | 1 + src/paks/haproxy/uninstall.sh | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
Difference in files: diff --git a/lfs/haproxy b/lfs/haproxy index da56f889d..51414d8b6 100644 --- a/lfs/haproxy +++ b/lfs/haproxy @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = haproxy -PAK_VER = 7 +PAK_VER = 8
DEPS = ""
diff --git a/src/paks/haproxy/install.sh b/src/paks/haproxy/install.sh index 45b2161b1..8282acb28 100644 --- a/src/paks/haproxy/install.sh +++ b/src/paks/haproxy/install.sh @@ -23,6 +23,7 @@ # . /opt/pakfire/lib/functions.sh extract_files +restore_backup ${NAME}
# Enable autostart ln -sf ../init.d/haproxy /etc/rc.d/rc0.d/K25haproxy diff --git a/src/paks/haproxy/uninstall.sh b/src/paks/haproxy/uninstall.sh index b01ee1147..9621b52a0 100644 --- a/src/paks/haproxy/uninstall.sh +++ b/src/paks/haproxy/uninstall.sh @@ -22,5 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh +make_backup ${NAME} remove_files rm -rfv /etc/rc.d/rc*.d/*haproxy
hooks/post-receive -- IPFire 2.x development tree