X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/03551923e584b760161ddea264ba377c50f1adbd..6a35f96caaf340bd2c2a848e50898f667f80dbc8:/openwrt/package/haserl/haserl-0.7.3-3.diff diff --git a/openwrt/package/haserl/haserl-0.7.3-3.diff b/openwrt/package/haserl/haserl-0.7.3-3.diff index 55b6b3d80..b56d3c332 100644 --- a/openwrt/package/haserl/haserl-0.7.3-3.diff +++ b/openwrt/package/haserl/haserl-0.7.3-3.diff @@ -101,7 +101,7 @@ diff -ruN haserl-0.7.3-orig/ipkg/rules haserl-0.7.3-3/ipkg/rules + chmod 0755 ipkg/*/CONTROL/ + chmod 0644 ipkg/*/CONTROL/control + -+ perl -pi -e "s/^Arch.*:.*/Architecture: $(TARGET_ARCH)/g" ipkg/*/CONTROL/control ++ perl -pi -e "s/^Arch.*:.*/Architecture: $(ARCH)/g" ipkg/*/CONTROL/control +ifneq ($(strip $(PKG_VERSION)),) + perl -pi -e "s/^Vers.*:.*/Version: $(PKG_VERSION)/g" ipkg/*/CONTROL/control +endif