[TRE-538] Tizen:Mobile/TV/Wearable: Remove linkpac: rinato-linux-kernel
[scm/meta/obs.git] / update_meta.sh
index 1ff0445..f569b30 100755 (executable)
@@ -54,9 +54,14 @@ function check_package() {
                        fi
                        ;;
                *)
+                       content=$(osc -A $API api /source/$PRJ/$pkg/_meta)
+                       if echo $content | grep -q '<build>' ; then
+                               mkdir -p $pkg
+                               echo $content >$pkg/_meta
+                               msg="$msg (updated)"
+                       fi
                        ;;
        esac
-
        echo $msg
 }