X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fpakfire%2Flib%2Ffunctions.sh;h=3f7dbff55f286102528ddfc36ed4d325665a3f4e;hb=d9c6f56c2ea171cbc1fa396feb30d2814b9a818d;hp=2f6491f28e3b4a7862a775787ae30cca8061bb78;hpb=d7501a96b72a4c0d2602230cf6cb7a17fa39b8fe;p=ipfire-2.x.git diff --git a/src/pakfire/lib/functions.sh b/src/pakfire/lib/functions.sh index 2f6491f28e..3f7dbff55f 100644 --- a/src/pakfire/lib/functions.sh +++ b/src/pakfire/lib/functions.sh @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2012 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,7 +24,14 @@ extract_files() { echo "Extracting files..." - tar xvf /opt/pakfire/tmp/files --no-overwrite-dir -p --numeric-owner -C / + tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p --numeric-owner -C / + echo "...Finished." +} + +extract_backup_includes() { + echo "Extracting backup includes..." + tar xavf /opt/pakfire/tmp/files* --no-overwrite-dir -p --numeric-owner -C / \ + var/ipfire/backup/addons/includes echo "...Finished." }