summaryrefslogtreecommitdiff
path: root/src/add.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-12 06:27:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-12 06:27:25 +0000
commit2b6e5d6e40a0b8a7ef650ef66996148cfdca1f2c (patch)
treeea0c241efa701ae7ba3772521604ff7c378252c2 /src/add.c
parentade18415414b49a7e78ac7c8b1a6c81cd81bb1a1 (diff)
downloadapk-tools-2b6e5d6e40a0b8a7ef650ef66996148cfdca1f2c.tar.gz
apk-tools-2b6e5d6e40a0b8a7ef650ef66996148cfdca1f2c.tar.bz2
apk-tools-2b6e5d6e40a0b8a7ef650ef66996148cfdca1f2c.tar.xz
apk-tools-2b6e5d6e40a0b8a7ef650ef66996148cfdca1f2c.zip
index: support for -d to delete packages from given index
The syntax is: apk index -d /path/to/APK_INDEX.gz pkg... It does not seem like its possible to remove packages in the db so we trick apk_db_index_write() by setting the repo to on-zero. It's still not perfect since it does not recalculate the dependencies.
Diffstat (limited to 'src/add.c')
0 files changed, 0 insertions, 0 deletions