Tizen:Common: Update new maintainer's user ID
[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
 }