gluon-core: remove support for incremental upgrade scripts

As we don't have any older gluon versions so far, and hope to be able to do all
upgrades with invariant scripts, remove the code for now.

If we ever see the need to add such upgrade scripts, we can just re-add this.
This commit is contained in:
Matthias Schiffer 2014-02-23 20:20:16 +01:00
parent b775741d30
commit 5f8e34fc2f

View File

@ -45,17 +45,6 @@ do_component() {
else else
do_dir initial do_dir initial
fi fi
else
local v
for v in *; do
[ "$v" != initial -a "$v" != invariant -a "$v" != legacy ] || continue
# The return value of opkg compare-versions is negated
if ! opkg compare-versions "$v" '>>' "$oldversion"; then
do_dir "$v"
fi
done
fi fi
do_dir invariant do_dir invariant