diff options
author | Jan Weitzel <j.weitzel@phytec.de> | 2011-08-23 10:10:30 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-08-28 17:18:48 +0200 |
commit | ef860295ea80101d7d992bb2450ff887fea0d288 (patch) | |
tree | 94fcdd9744fc6b1f0ff14236fb2d3245d6192a2a | |
parent | c47d87a94f1612305a38388399f62e49dbf14599 (diff) | |
download | ptxdist-ef860295ea80101d7d992bb2450ff887fea0d288.tar.gz ptxdist-ef860295ea80101d7d992bb2450ff887fea0d288.tar.xz |
also update collection with migrate
If you use migrate to go to a new ptxdist version, collections are
untouched. This can result in problems
Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-x | bin/ptxdist | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 80bce358b..f60767ae6 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1699,6 +1699,9 @@ do_migrate() for part in ptx platform; do do_config oldconfig "${part}" || return done + if [ -e "${PTXDIST_COLLECTIONCONFIG}" ]; then + do_config oldconfig collection + fi } |