mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
haproxy: Create/restore backup when package is installed/uninstalled
Fixes: #11946 Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -22,5 +22,6 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
make_backup ${NAME}
|
||||
remove_files
|
||||
rm -rfv /etc/rc.d/rc*.d/*haproxy
|
||||
|
||||
Reference in New Issue
Block a user