# HG changeset patch # User Christopher Rogers # Date 1429379003 0 # Node ID 2d836243f5e28dc49cd155fb3c96121ad9218c0a # Parent c389814e4f9a2a4e13935860e2fbd8694d1bb556 tazpkg: Add minor changes to grab wanted.txt, depends.txt, and libraries.txt if they exist in repo. diff -r c389814e4f9a -r 2d836243f5e2 tazpkg --- a/tazpkg Sat Apr 18 16:25:03 2015 +0300 +++ b/tazpkg Sat Apr 18 17:43:23 2015 +0000 @@ -2234,6 +2234,7 @@ action "Creating backup of the last packages list..." for i in packages.desc packages.$SUM packages.txt \ packages.list packages.equiv files.list.lzma \ + wanted.txt depends.txt libraries.txt \ extra.list mirrors packages.info do mv -f $i $i.bak 2>/dev/null @@ -2241,6 +2242,14 @@ status fi + # ID file & wanted/depends/libraries files were implemented + # at the same time. Not all repositories have them. + if [ -f ID ]; then + for i in wanted depends libraries; do + download_from $primary_mirror $i.txt + done + fi + for i in desc $SUM txt list equiv; do download_from "$(cat mirror)" packages.$i done