summaryrefslogtreecommitdiffstats
path: root/lib/garbage.sh
Commit message (Collapse)AuthorAgeFilesLines
* collect_garbage(): Use file input, not heredoc.P. J. McDermott2014-05-011-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes garbage collection. Before: $ pro-archman -v -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Updating feeds... pro-archman: Collecting garbage... pro-archman: Deleting file ... rm: cannot remove ‘proteanos/’: Is a directory pro-archman: 52: [: Illegal number: proteanos/.db/garbage/1398956970 pro-archman: Deleting file ... rm: cannot remove ‘proteanos/’: Is a directory pro-archman: 52: [: Illegal number: proteanos/.db/garbage/1398956971 After: $ pro-archman -v -b proteanos process-incoming pro-archman: Processing changes in incoming... pro-archman: Updating feeds... pro-archman: Collecting garbage... pro-archman: Deleting file pool/o/opkg/libopkg.1-dev_0.2.0-1_all_all.opk... pro-archman: Deleting file pool/o/opkg/opkg-doc_0.2.0-1_all_all.opk... pro-archman: Deleting file pool/o/opkg/libopkg.1_0.2.0-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg-dbg_0.2.0-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg_0.2.0-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/_0.2.2-1_all_all.opk... pro-archman: Deleting file pool/o/opkg/_0.2.2-1_amd64-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/libopkg.1_0.2.0-1_i686-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg-dbg_0.2.0-1_i686-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/opkg_0.2.0-1_i686-linux-glibc_all.opk... pro-archman: Deleting file pool/o/opkg/src-opkg_0.2.0-1_src_all.opk...
* lib/garbage.sh: Add some verbose output.P. J. McDermott2014-04-301-0/+7
|
* Replace ${opt_base_dir} with ${base_dir}.P. J. McDermott2013-10-121-5/+5
|
* Add missing include guards to some library files.P. J. McDermott2013-10-111-0/+3
|
* lib/garbage.sh: s/archive/opt_base_dir/.P. J. McDermott2013-07-271-5/+5
|
* collect_garbage(): Verify expansion of pathname.P. J. McDermott2013-07-271-0/+3
|
* lib/garbage.sh: New file.P. J. McDermott2013-07-271-0/+65