diff options
Diffstat (limited to 'openwrt/package/haserl')
-rw-r--r-- | openwrt/package/haserl/haserl-0.7.3-3.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/haserl/haserl-0.7.3-3.diff b/openwrt/package/haserl/haserl-0.7.3-3.diff index 55b6b3d803..b56d3c3326 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 |