pakfire: enable compression autodetection inside the packages.
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 26 Oct 2012 07:56:31 +0000 (09:56 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 26 Oct 2012 07:56:31 +0000 (09:56 +0200)
src/pakfire/lib/functions.sh

index bc05bd01e0112d137715241c36e5cfc8faed9a69..9c8bf53e851509c3de6c81e9718ae6ab9aeeb325 100644 (file)
 
 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 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 / \
                var/ipfire/backup/addons/includes
        echo "...Finished."
 }