diff options
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb index f8df0ef18..c4eea317b 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb | |||
@@ -96,7 +96,12 @@ do_configure_prepend () { | |||
96 | } | 96 | } |
97 | 97 | ||
98 | do_install_append () { | 98 | do_install_append () { |
99 | test -d ${D}/run && rmdir ${D}/run | 99 | if [ -d ${D}/run ]; then |
100 | rmdir ${D}/run | ||
101 | fi | ||
102 | if [ -d ${D}${localstatedir}/run ]; then | ||
103 | rmdir ${D}${localstatedir}/run | ||
104 | fi | ||
100 | } | 105 | } |
101 | 106 | ||
102 | INSANE_SKIP_${PN} = "dev-so" | 107 | INSANE_SKIP_${PN} = "dev-so" |