chg method of detecting ipkg vs opkg