diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-08-22 23:43:16 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-08-22 23:45:01 +0200 |
commit | a496f00049d2e2d8326e94c55b6fd0fccd252390 (patch) | |
tree | 9aa8e4c5d8ddbac0cf00fed27d8b8784e56107e0 /recipes | |
parent | 6978dc4ef8989651497e18088807d7377f016fb5 (diff) |
iptables: dont fail do_install if there is no /xtables/*
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/iptables/iptables_1.4.9.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/iptables/iptables_1.4.9.1.bb b/recipes/iptables/iptables_1.4.9.1.bb index 8e01b59ca6..b51c5a4da2 100644 --- a/recipes/iptables/iptables_1.4.9.1.bb +++ b/recipes/iptables/iptables_1.4.9.1.bb @@ -10,6 +10,6 @@ SRC_URI[iptables-1.4.9.1.sha256sum] = "0550f7ba7a170811dcf9b2df65036999786d84040 do_install_append() { install -d ${D}${docdir}/xtables - mv ${D}${datadir}/xtables/* ${D}${docdir}/xtables/ + mv ${D}${datadir}/xtables/* ${D}${docdir}/xtables/ || echo "No ${D}${datadir}/xtables/* here" rm -fr ${D}${datadir}/xtables -}
\ No newline at end of file +} |