public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. c519be42262c629abac86fb251a3f3921d42310d
@ 2018-12-10  0:37 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2018-12-10  0:37 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2232 bytes --]

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(a)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(a)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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-10  0:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10  0:37 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. c519be42262c629abac86fb251a3f3921d42310d Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox