From 410aebda158f8342d5111df8c2ef9161d611145c Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 10 Feb 2014 07:46:23 -0500 Subject: pkg: Add per-package force_reinstall flag This flag allows two package object to share the same version information but be distinguishable from each other. It is never stored on disk or reported to the user but is used when comparing package versions. A new function, pkg_compare_versions_no_reinstall(), is added to compare versions without caring about this force_reinstall flag. Signed-off-by: Paul Barker --- (limited to 'libopkg/opkg_download.c') -- cgit v0.9.1