From 4105d223d759e421a9277e1532534c438cda5aba Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 17 Feb 2020 21:34:14 +0000 Subject: [PATCH] paks: add/move extract_backup_includes to pak update scripts this function allow to update the backup filelist before the backup was done in uninstall.sh at packet updates. Signed-off-by: Arne Fitzenreiter --- src/paks/alsa/update.sh | 3 ++- src/paks/amazon-ssm-agent/uninstall.sh | 2 -- src/paks/amazon-ssm-agent/update.sh | 3 ++- src/paks/apcupsd/update.sh | 1 + src/paks/asterisk/update.sh | 3 ++- src/paks/avahi/update.sh | 3 ++- src/paks/bird/uninstall.sh | 1 - src/paks/bird/update.sh | 1 + src/paks/cups/update.sh | 3 ++- src/paks/dbus/update.sh | 1 + src/paks/default/update.sh | 3 ++- src/paks/dnsdist/uninstall.sh | 4 +--- src/paks/dnsdist/update.sh | 1 + src/paks/freeradius/update.sh | 3 ++- src/paks/frr/uninstall.sh | 3 +-- src/paks/frr/update.sh | 3 ++- src/paks/git/update.sh | 1 + src/paks/gnump3d/update.sh | 3 ++- src/paks/guardian/update.sh | 3 ++- src/paks/haproxy/update.sh | 3 ++- src/paks/hostapd/update.sh | 3 ++- src/paks/igmpproxy/uninstall.sh | 3 +-- src/paks/igmpproxy/update.sh | 3 ++- src/paks/keepalived/update.sh | 3 ++- src/paks/libdaemon/update.sh | 3 ++- src/paks/libvirt/uninstall.sh | 3 +-- src/paks/mdns-repeater/update.sh | 4 ++-- src/paks/minidlna/update.sh | 4 +++- src/paks/motion/update.sh | 3 ++- src/paks/mpfire/update.sh | 3 ++- src/paks/netsnmpd/uninstall.sh | 1 - src/paks/netsnmpd/update.sh | 3 ++- src/paks/nfs/update.sh | 3 ++- src/paks/nginx/uninstall.sh | 1 - src/paks/nginx/update.sh | 3 ++- src/paks/nut/update.sh | 3 ++- src/paks/postfix/uninstall.sh | 1 - src/paks/postfix/update.sh | 3 ++- src/paks/qemu/update.sh | 3 ++- src/paks/rpcbind/update.sh | 3 ++- src/paks/sarg/update.sh | 3 ++- src/paks/shairport-sync/update.sh | 4 ++-- src/paks/squid-accounting/update.sh | 3 ++- src/paks/sslh/update.sh | 3 ++- src/paks/stunnel/update.sh | 3 ++- src/paks/tftpd/update.sh | 3 ++- src/paks/transmission/update.sh | 4 ++-- src/paks/watchdog/update.sh | 3 ++- src/paks/wio/update.sh | 3 ++- src/paks/xinetd/update.sh | 3 ++- 50 files changed, 82 insertions(+), 54 deletions(-) diff --git a/src/paks/alsa/update.sh b/src/paks/alsa/update.sh index 79af981e8e..14cf836b2d 100644 --- a/src/paks/alsa/update.sh +++ b/src/paks/alsa/update.sh @@ -17,12 +17,13 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh mv /etc/asound.state /tmp +extract_backup_includes ./uninstall.sh ./install.sh mv /tmp/asound.state /etc diff --git a/src/paks/amazon-ssm-agent/uninstall.sh b/src/paks/amazon-ssm-agent/uninstall.sh index 48f160762a..126160805c 100644 --- a/src/paks/amazon-ssm-agent/uninstall.sh +++ b/src/paks/amazon-ssm-agent/uninstall.sh @@ -23,8 +23,6 @@ # . /opt/pakfire/lib/functions.sh -extract_backup_includes - stop_service ${NAME} make_backup ${NAME} diff --git a/src/paks/amazon-ssm-agent/update.sh b/src/paks/amazon-ssm-agent/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/amazon-ssm-agent/update.sh +++ b/src/paks/amazon-ssm-agent/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/apcupsd/update.sh b/src/paks/apcupsd/update.sh index 89c40d0d7c..8df9967665 100644 --- a/src/paks/apcupsd/update.sh +++ b/src/paks/apcupsd/update.sh @@ -22,5 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/asterisk/update.sh b/src/paks/asterisk/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/asterisk/update.sh +++ b/src/paks/asterisk/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/avahi/update.sh b/src/paks/avahi/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/avahi/update.sh +++ b/src/paks/avahi/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/bird/uninstall.sh b/src/paks/bird/uninstall.sh index 4ba09c858c..28792eaf01 100644 --- a/src/paks/bird/uninstall.sh +++ b/src/paks/bird/uninstall.sh @@ -27,7 +27,6 @@ stop_service "${NAME}" # Create backup -extract_backup_includes make_backup "${NAME}" # Remove all files diff --git a/src/paks/bird/update.sh b/src/paks/bird/update.sh index 89c40d0d7c..8df9967665 100644 --- a/src/paks/bird/update.sh +++ b/src/paks/bird/update.sh @@ -22,5 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/cups/update.sh b/src/paks/cups/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/cups/update.sh +++ b/src/paks/cups/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/dbus/update.sh b/src/paks/dbus/update.sh index 9f2f69331c..5082e497ea 100644 --- a/src/paks/dbus/update.sh +++ b/src/paks/dbus/update.sh @@ -22,5 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/default/update.sh b/src/paks/default/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/default/update.sh +++ b/src/paks/default/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/dnsdist/uninstall.sh b/src/paks/dnsdist/uninstall.sh index 966c525c49..41c600e77c 100644 --- a/src/paks/dnsdist/uninstall.sh +++ b/src/paks/dnsdist/uninstall.sh @@ -17,14 +17,12 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh -extract_backup_includes - stop_service ${NAME} make_backup ${NAME} diff --git a/src/paks/dnsdist/update.sh b/src/paks/dnsdist/update.sh index 89c40d0d7c..8df9967665 100644 --- a/src/paks/dnsdist/update.sh +++ b/src/paks/dnsdist/update.sh @@ -22,5 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/freeradius/update.sh b/src/paks/freeradius/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/freeradius/update.sh +++ b/src/paks/freeradius/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/frr/uninstall.sh b/src/paks/frr/uninstall.sh index 49e3fdd7d1..835558ac4c 100644 --- a/src/paks/frr/uninstall.sh +++ b/src/paks/frr/uninstall.sh @@ -17,7 +17,7 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # @@ -27,7 +27,6 @@ stop_service "${NAME}" # Create backup -extract_backup_includes make_backup "${NAME}" # Remove all files diff --git a/src/paks/frr/update.sh b/src/paks/frr/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/frr/update.sh +++ b/src/paks/frr/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/git/update.sh b/src/paks/git/update.sh index 89c40d0d7c..8df9967665 100644 --- a/src/paks/git/update.sh +++ b/src/paks/git/update.sh @@ -22,5 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/gnump3d/update.sh b/src/paks/gnump3d/update.sh index 6e387001ff..2031a9613d 100644 --- a/src/paks/gnump3d/update.sh +++ b/src/paks/gnump3d/update.sh @@ -17,11 +17,12 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes #Remove userdate from rootfile cat /opt/pakfire/db/rootfiles/gnump3d | \ grep -v "var/mp3" > /opt/pakfire/db/rootfiles/gnump3d.tmp diff --git a/src/paks/guardian/update.sh b/src/paks/guardian/update.sh index 4bec42b537..99776659c3 100644 --- a/src/paks/guardian/update.sh +++ b/src/paks/guardian/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007-2016 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/haproxy/update.sh b/src/paks/haproxy/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/haproxy/update.sh +++ b/src/paks/haproxy/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/hostapd/update.sh b/src/paks/hostapd/update.sh index f81b041168..46deb04d1f 100644 --- a/src/paks/hostapd/update.sh +++ b/src/paks/hostapd/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2008 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +exctract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/igmpproxy/uninstall.sh b/src/paks/igmpproxy/uninstall.sh index eb6ff5f9b9..7685264c5c 100644 --- a/src/paks/igmpproxy/uninstall.sh +++ b/src/paks/igmpproxy/uninstall.sh @@ -17,12 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh stop_service ${NAME} -extract_backup_includes make_backup ${NAME} remove_files diff --git a/src/paks/igmpproxy/update.sh b/src/paks/igmpproxy/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/igmpproxy/update.sh +++ b/src/paks/igmpproxy/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/keepalived/update.sh b/src/paks/keepalived/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/keepalived/update.sh +++ b/src/paks/keepalived/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/libdaemon/update.sh b/src/paks/libdaemon/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/libdaemon/update.sh +++ b/src/paks/libdaemon/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/libvirt/uninstall.sh b/src/paks/libvirt/uninstall.sh index 0d96e360df..ba17705537 100644 --- a/src/paks/libvirt/uninstall.sh +++ b/src/paks/libvirt/uninstall.sh @@ -17,14 +17,13 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh stop_service libvirtd stop_service virtlogd -extract_backup_includes make_backup ${NAME} remove_files diff --git a/src/paks/mdns-repeater/update.sh b/src/paks/mdns-repeater/update.sh index c6485bf0ae..99776659c3 100644 --- a/src/paks/mdns-repeater/update.sh +++ b/src/paks/mdns-repeater/update.sh @@ -17,11 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh - +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/minidlna/update.sh b/src/paks/minidlna/update.sh index d5e61164c9..99776659c3 100644 --- a/src/paks/minidlna/update.sh +++ b/src/paks/minidlna/update.sh @@ -17,9 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # +. /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/motion/update.sh b/src/paks/motion/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/motion/update.sh +++ b/src/paks/motion/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/mpfire/update.sh b/src/paks/mpfire/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/mpfire/update.sh +++ b/src/paks/mpfire/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/netsnmpd/uninstall.sh b/src/paks/netsnmpd/uninstall.sh index 278218b260..a7b8a5370f 100644 --- a/src/paks/netsnmpd/uninstall.sh +++ b/src/paks/netsnmpd/uninstall.sh @@ -22,7 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh -extract_backup_includes stop_service ${NAME} make_backup ${NAME} remove_files diff --git a/src/paks/netsnmpd/update.sh b/src/paks/netsnmpd/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/netsnmpd/update.sh +++ b/src/paks/netsnmpd/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/nfs/update.sh b/src/paks/nfs/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/nfs/update.sh +++ b/src/paks/nfs/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/nginx/uninstall.sh b/src/paks/nginx/uninstall.sh index 7c7bfe8b8c..ded53f0421 100644 --- a/src/paks/nginx/uninstall.sh +++ b/src/paks/nginx/uninstall.sh @@ -23,7 +23,6 @@ # . /opt/pakfire/lib/functions.sh stop_service ${NAME} -extract_backup_includes make_backup ${NAME} remove_files diff --git a/src/paks/nginx/update.sh b/src/paks/nginx/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/nginx/update.sh +++ b/src/paks/nginx/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/nut/update.sh b/src/paks/nut/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/nut/update.sh +++ b/src/paks/nut/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/postfix/uninstall.sh b/src/paks/postfix/uninstall.sh index bff411a91d..ecf6b5b787 100644 --- a/src/paks/postfix/uninstall.sh +++ b/src/paks/postfix/uninstall.sh @@ -22,7 +22,6 @@ ############################################################################ # . /opt/pakfire/lib/functions.sh -extract_backup_includes stop_service ${NAME} make_backup ${NAME} /usr/sbin/alternatives --remove sendmail /usr/sbin/sendmail.postfix diff --git a/src/paks/postfix/update.sh b/src/paks/postfix/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/postfix/update.sh +++ b/src/paks/postfix/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/qemu/update.sh b/src/paks/qemu/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/qemu/update.sh +++ b/src/paks/qemu/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/rpcbind/update.sh b/src/paks/rpcbind/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/rpcbind/update.sh +++ b/src/paks/rpcbind/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/sarg/update.sh b/src/paks/sarg/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/sarg/update.sh +++ b/src/paks/sarg/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/shairport-sync/update.sh b/src/paks/shairport-sync/update.sh index c6485bf0ae..99776659c3 100644 --- a/src/paks/shairport-sync/update.sh +++ b/src/paks/shairport-sync/update.sh @@ -17,11 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh - +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/squid-accounting/update.sh b/src/paks/squid-accounting/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/squid-accounting/update.sh +++ b/src/paks/squid-accounting/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/sslh/update.sh b/src/paks/sslh/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/sslh/update.sh +++ b/src/paks/sslh/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/stunnel/update.sh b/src/paks/stunnel/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/stunnel/update.sh +++ b/src/paks/stunnel/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/tftpd/update.sh b/src/paks/tftpd/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/tftpd/update.sh +++ b/src/paks/tftpd/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/transmission/update.sh b/src/paks/transmission/update.sh index c6485bf0ae..99776659c3 100644 --- a/src/paks/transmission/update.sh +++ b/src/paks/transmission/update.sh @@ -17,11 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh - +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/watchdog/update.sh b/src/paks/watchdog/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/watchdog/update.sh +++ b/src/paks/watchdog/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/wio/update.sh b/src/paks/wio/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/wio/update.sh +++ b/src/paks/wio/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh diff --git a/src/paks/xinetd/update.sh b/src/paks/xinetd/update.sh index 89c40d0d7c..99776659c3 100644 --- a/src/paks/xinetd/update.sh +++ b/src/paks/xinetd/update.sh @@ -17,10 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2020 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh +extract_backup_includes ./uninstall.sh ./install.sh -- 2.39.2